Code: Select all
\\nas\images\*<!\.><.xmp|pic:><dm:last10days>
First of all:
filter macro's are not really a part of the core of Everything (they are in Filters.csv) and can't be used directly in ES.exe.
Instead,you have to expand them manually:
- Go to Menu:Search > Organize Filters
- Double-click Pictures
- Copy whatever is in the Search field (on my system:
ext:ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf )
- replace pic: with what you copied.
In this specific case, you can add .xmp too:
Code: Select all
ext:xmp;ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf
Second:
Some characters have special meaning on th command prompt. They have to be preceded by CMD's escape character "^", so
es.exe <dm:last10days> would become es.exe ^<dm:last10days^>
Type ES.exe /? to find out which characters need to be escaped (last line of the help text).
Note: Escaping the "\" is not needed in CMD.
Third:
You don't need all the "<" and ">". This should do fine:
Code: Select all
\\nas\images\* ext:xmp;ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf dm:last10days
With all that, this should do (not tested)
Code: Select all
\\nas\images\ !\. ext:xmp;ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf dm:last10days
Note:
If you use SETLOCAL ENABLEDELAYEDEXPANSION in your script, "!" has a special meaning too (it is used to indicate a variable).
If that is the case, that can be "fixed" too.