Command line for folders only

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
harrisc
Posts: 5
Joined: Sun Jan 13, 2013 1:11 am

Command line for folders only

Post by harrisc »

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
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Command line for folders only

Post by NotNull »

Something like this:

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 %1


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.
harrisc
Posts: 5
Joined: Sun Jan 13, 2013 1:11 am

Re: Command line for folders only

Post by harrisc »

Thanks
I will try the commands
harrisc
Posts: 5
Joined: Sun Jan 13, 2013 1:11 am

Re: Command line for folders only

Post by harrisc »

I used the modifier and all works as expected.

Thanks again
Post Reply