QUESTION :
How can I change the default cmd (%SystemRoot%system32cmd.exe) to tcc.exe (C:Program FilesJPSoftTCCLE13tcc.exe).
I have changed the value of Environment Variables -> ComSpec, But it still doesn’t work.
I think it should be changed somewhere in regedit. But I cannot find the location.
ANSWER :
This does working in XP on the command line:
reg add "hklmsystemcurrentcontrolsetcontrolsession managerenvironment" /f /v comspec /t REG_SZ /d "C:Program FilesJPSoftTCCLE13tcc.exe"
To restore the cmd.exe
type:
reg add "hklmsystemcurrentcontrolsetcontrolsession managerenvironment" /f /v comspec /t REG_EXPAND_SZ /d ^%SystemRoot^%system32cmd.exe
Edit: Restart the computer after changing the value.