I use command lines in File Explorer to search the highlighted folder or the parent folder using
"%SystemDrive%\Program Files\Everything\Everything.exe" -p %2
And
"%SystemDrive%\Program Files\Everything\Everything.exe" -p %1
What option/switch do I use to search only folders (or folders and files)
Thanks
Command line for folders only
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: Command line for folders only
Something like this:
Only folders:
Only files:
Both:
Not exactly sure where you run this command, but for File Explorer there are some built-in options in Everything to open this folder from the right-click/context-menu or by pressing a keyboard shortcut.
Only folders:
"%ProgramFiles%\Everyting\everything.exe" -p %1 -s folder:Only files:
"%ProgramFiles%\Everyting\everything.exe" -p %1 -s file:Both:
"%ProgramFiles%\Everyting\everything.exe" -p %1Not exactly sure where you run this command, but for File Explorer there are some built-in options in Everything to open this folder from the right-click/context-menu or by pressing a keyboard shortcut.
-
harrisc
- Posts: 5
- Joined: Sun Jan 13, 2013 1:11 am
Re: Command line for folders only
Thanks
I will try the commands
I will try the commands
-
harrisc
- Posts: 5
- Joined: Sun Jan 13, 2013 1:11 am
Re: Command line for folders only
I used the modifier and all works as expected.
Thanks again
Thanks again