What happens now, at home, is that
EGOR.BAT ego*
Like here, working, I get:
C:\BIN>START C:\DEV\Locate\Everything.exe -rename C:\BIN\ego**
But at home, I was only getting a directory name & not expected files?
EGOR.BAT:
Code: Select all
:: EGO_R_15.BAT (Everything Go _ RENAME) - 1.5 beta version
:: From a command prompt, open an Everything RENAME window, with the files in the current directory, or an (optional) search term:
:: SjB 12/01/2021
:: ... there are quirks here... will have to see how it plays out...
SET DIR=C:\DEV\Locate\15.1300
:: cd %cd%
:: pwd
:: echo ----
:: echo %1
:: echo ----
:: echo %*
:: echo ----
:: pause
if [%1]==[] goto renameall:
START %dir%\Everything.exe -rename %cd%\%**
:: having the second **, adds a "physical" * to the list
:: so 'egor a', will find a, ab, abc
:: without that, 'egor a', would only find a
:: IOW, by including the second * here, you don't have to put that in at the command line
:: so 'egor a', meaning a*, rather then having to enter 'egor a*'
:: thinking i'm going to revert that & if you're forced to manually type a *, so be it...
goto end:
:renameall
START %dir%\Everything.exe -rename %cd%\*
:end
SET DIR=