When I go
"C:\Program Files\Everything\Everything.exe" -filename "C:\tmp\"
it works great, searching in just that folder. How do I add "C:\tmp2\" to the command line so it searches both "C:\tmp\" and "C:\tmp2\" together?
Thanks
Search multiple paths with command line?
Re: Search multiple paths with command line?
Drop the -filename & just enter your wanted directories, .
everything.exe c:/out/tt c:/tmp/chkchk
Re: Search multiple paths with command line?
Assuming Everything 1.4 and Command Prompt (CMD) as the command-line:
Code: Select all
"c:\path to\Everything.exe" -search " """c:\first folder\""" | """c:\second folder\""" "
Re: Search multiple paths with command line?
Didn't work. I created the folders "C:\test, test" and "C:\test, test 2", and created this shortcut:
"C:\Program Files\Everything\Everything.exe" "C:\test, test" "C:\test, test 2".
I get this error:
Re: Search multiple paths with command line?
This worked but is there another way that doesn't use so many quotes?! I'll never remember that! ThanksNotNull wrote: ↑Fri Jan 05, 2024 10:57 pm Assuming Everything 1.4 and Command Prompt (CMD) as the command-line:Code: Select all
"c:\path to\Everything.exe" -search " """c:\first folder\""" | """c:\second folder\""" "
Re: Search multiple paths with command line?
Yes: install Everything 1.5
Command:
Note the * after -search. This will treat the rest of the command-line as literal text.
Folders are separated by a semi-colon (;)
Command:
Code: Select all
"c:\path to\Everything64.exe" -search* pathlist:"c:\first folder\";"c:\second folder\"
Folders are separated by a semi-colon (;)