Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\RunAs] @="TCMD prompt here (&Admin)" [HKEY_CLASSES_ROOT\Directory\shell\RunAs\command] @="\"C:\\Program Files\\JPSoft\\TCMD19_x64\\tcmd.exe\" /D \"%L\""
I prefer to use TCMD and not TCC.
It allows me to right click on a directory and select open with TCMD ( I have one as an admin and another as a non- elevated user).
What I would like is way to log the
CD /D "Directory path wanted"
On the contrary, if I go to Start\Run and issue "g:\tc19\tcmd.exe /d <place>" my one and only default TCC starts in <place>. TCMD's COMSPEC is simply "g:\tc19\tcc.exe" and my TCStart.btm does not change the CWD. It would seem TCMD sets its CWD to the "/D" spec and TCC inherits it.