Command to search for non-ASCII characters
Command to search for non-ASCII characters
I have discovered the technique of entering regex:[^\x00-\x7F]+ in the GUI, to find filenames that contain non-ASCII characters. But how can I open the GUI, with that search, from a batch command? Running everything.exe or es with regex or -regex doesn't do it.
Re: Command to search for non-ASCII characters
That is because a ^ has special meaning on the CMD prompt/in a batch file.
You can bypass (escape) that meaning by using an extra ^ :
You can bypass (escape) that meaning by using an extra ^ :
Code: Select all
"c:\path to\Everything.exe" -search regex:[^^\x00-\x7F]
"c:\another path to\es.exe" regex:[^^\x00-\x7F]
Re: Command to search for non-ASCII characters
Not seeing any way to click SOLVED or Thank You. But thank you. That worked.
FYI, I stick a copy of a file like everything.exe into C:\Windows, and then I only need everything -search regex:[^^\x00-\x7F].
Cheers!
FYI, I stick a copy of a file like everything.exe into C:\Windows, and then I only need everything -search regex:[^^\x00-\x7F].
Cheers!
Re: Command to search for non-ASCII characters
Apparently no way to edit previous post. Correction: that last one should read:
everything -search regex:[^^\x00-\x7F]+
with a plus at the end as shown.
everything -search regex:[^^\x00-\x7F]+
with a plus at the end as shown.
Re: Command to search for non-ASCII characters
The "+" is not really needed:
regex:[^^\x00-\x7F] searches for a non-ascii character
regex:[^^\x00-\x7F]+ searches for one or more non-ascii characters "in a row".
Net result will be the same.
regex:[^^\x00-\x7F] searches for a non-ascii character
regex:[^^\x00-\x7F]+ searches for one or more non-ascii characters "in a row".
Net result will be the same.
Re: Command to search for non-ASCII characters
This thread is updated at viewtopic.php?f=5&t=12173&p=49868#p49868.