Thanks for the reports Vochomurka, I'm at work atm. so will have to correct these later, but most issuses mentioned seems to be quick and easy things to fix. So these are just my thoughts for the next version.
btw: I'm thinking my script is a bit strict on f.ex missing icon paths in the menu .ini and ofc on the requirement of quotes when TC's environment variable was used (in case there are spaces in TC's path at some point). As that is stuff I care about, but most don't.
So I might make these checks optional.
Vochomurka wrote:Code: Select all
%COMMANDER_DRIVE%\Utils\Text\EmEditor\emeditor.exe %COMMANDER_DRIVE%\Utils\CloneSpy\CloneSpyResult.txt|c:\Utils\totalcmd\Compare.bar|Buttonbar|cmd10
TC does not recognize environment variables in the "Parameters" field, so if the parameter contains one, I need to put it to the "Command" filed.
Actually TC does support environment variables in the parameters field if you double up the %'s like such:
cmd: %COMMANDER_DRIVE%\Utils\Text\EmEditor\emeditor.exe
parameter: %%COMMANDER_DRIVE%%\Utils\CloneSpy\CloneSpyResult.txt
So I wont make tcCmdVerify move them to the command fields, but I agree in that such incorrect use of environment paths should be reported. It's easy to check for, as all I'll need to do is check for the existance of 2 single %'es in the parameter field, if so the tool should suggest doubling them up to two %%'s
Vochomurka wrote:Code: Select all
cmd /k format f: /fs:ntfs|c:\Utils\totalcmd\Commands.BAR|Buttonbar|cmd9
%Comspec% /k CHKDSK e: /F|c:\Utils\totalcmd\Commands.BAR|Buttonbar|cmd11
c:\Windows\System32\cmd.exe. cmd and %Comspec% are the same commands.
tcCmdVerify already tries to handle cmd's starting with %COMSPEC%, & CMD, but I've not made a workaround if "cmd.exe" is typed, I can do that for the upcoming version.
I can confirm this command being wrongfully reported as missing: "%Comspec% /k CHKDSK e: /F"
It finds it if I write this:
"%Comspec% /k CHKDSK.EXE e: /F"
It will be easy to fix, I'll make it check for the existance of whatever.exe from the next version.
It's probably the same issue with your format command in v0.07 and below.
Vochomurka wrote:Code: Select all
https://www.jottacloud.com/|c:\Utils\totalcmd\OnlineDrive.BAR|Buttonbar|cmd21
URLs in command field open the specified page in the default browser.
tcCmdVerify skips the cmd's starting with http:// but I forgot https://
The next version will handle them.
Vochomurka wrote:Code: Select all
%COMMANDER_DRIVE%\Utils\Text\EmEditor\emeditor.exe /c "PowerPro"|c:\Utils\totalcmd\OpenWith.bar|Buttonbar|cmd3
EmEditor has the configuration (/c) key. The same ("-" instead of "/") is for USB Safe:
Code: Select all
%COMMANDER_DRIVE%\Utils\Tray\USBSafe\usr.exe stop -d|c:\Utils\totalcmd\USBSafelyRemove.BAR|Buttonbar|cmd5
Does these ones get wrongfully reported as missing as well?
I don't understand why for those 2 yet.