Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

locate all exe file in powershell

#Navigate to the desired directory you want to search
cd C:
#Then run the command
Get-ChildItem -Filter "*.exe" -Recurse    #or
gci -Filter "*.exe" -Recurse              #the alias for Get-ChildItem is 'gci'

#-Filter "*.exe" is an argument that specifies to only find filenames which end 
#in ".exe". (The * is a type of regular expression notation).
#-Recurse is an argument that specifies to search all child directories. 
#This will make your function run on "C:/", but also all child directories of C:/, 
#and all child directories of those directories and so on. 
#Ommit it if you want to search only that drive.

Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu install without suggested packages 
Shell :: bash: pipe all out and error to file 
Shell :: pycharm ubuntu download 
Shell :: npm inatall latest version ubuntu 
Shell :: homebrew install in ubuntu 
Shell :: remove module and clear cache and install npm w expo 
Shell :: how to completely remove apps ubuntu package 
Shell :: chmod directory and subdirectories 
Shell :: shell: search a substring in another string 
Shell :: how to stop docker service windows 
Shell :: change default directory of the server 
Shell :: react-helmet typescript 
Shell :: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 
Shell :: vite react + eslint 
Shell :: install angular 
Shell :: open port on linux 
Shell :: clear history centos 
Shell :: centos 7 install ifconfig 
Shell :: uninstall ruby ubuntu 
Shell :: windows temp dir 
Shell :: qemu boot iso 
Shell :: git copy branch to another branch 
Shell :: start cronjob 
Shell :: Yarn .gitignore for not Zero Installs 
Shell :: install react-native cmd linux 
Shell :: test ssh connection 
Shell :: bash unsquash specific files 
Shell :: vncviewer display 0 
Shell :: give all privileges to single player minetest 
Shell :: install helm 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =