Thirst, Thanks for the brilliant search-tool.
I'm working with Total Commander on Vista32 with UAC.
If I use the given strings ... everything works o.k.
But my TC is portable and so I changed the path (C:\Program Files\totalcmd\TOTALCMD.EXE ...) to "%COMMANDER_PATH%\TOTALCMD.EXE ...."
If I start the TC with admin privileges and then start everything ... search ... Enter ... the result is given in the TC. That's o.k.
But this don't work with a normal TC (started without admin privileges). ... search ... Enter ... Error-Message: "%Commander_Path%\TOTALCMD.EXE" was not found ....
Could you help me ?
PS: Relative paths, like ".\..\TOTALCMD.EXE", don't work. Everything.exe in the root of the TC-Directory and only calling the "TOTALCMD.EXE ...." don't work.
I made a button in TC with
command: %commander_path%\tools\everything\start_uac.bat %commander_path%
param: n o t h i n g
and wrote a Batch
Code: Select all
FIND /c /I "%1" everything.ini
IF errorlevel 1 goto INI
IF errorlevel 0 goto Start
echo open_folder_path_command=$exec("%1\TOTALCMD.EXE" /O /T "$parent(%%1)")>> everything.ini
echo open_file_command=$exec("%1\TOTALCMD.EXE" /O /T /L="%%P" "%%1")>> everything.ini
echo open_folder_command=$exec("%1\TOTALCMD.EXE" /O /T "%%1")>> everything.ini
It's only a workaround.