I think you need to split the string first, please try:
$x="user 1 documents spreadsheet"
$x=$x.split(' ')
ES.exe -instance 1.5a -n 5 -p $x
This way, Everything receives the search:
user 1 documents spreadsheet
Without the split, Everything receives:
"user 1 documents spreadsheet"
If you are using Everything 1.5, please use the 1.5a instance name:
ES.exe -instance 1.5a -n 5 -p user 1 documents spreadsheet
Alternatively, disable the Everything 1.5a instance:
- From the Start menu, search for: Notepad
- Right click Notepad and click Run as administrator.
- In Notepad, open your Everything-1.5a.ini in the same location as your Everything.exe
- Change the following line:
alpha_instance=1
to:
alpha_instance=0
- Save changes and exit Notepad.
- Restart Everything 1.5.