SuperCMD
SuperCMD copied to clipboard
have this replace cmd by delault.
Thank you for your awesome software. Is it possible to force SuperCMD to run all scripts by default instead of the regular one, and to force it to run with TI privileges by default?
Hi @ibay770
Do you mean to associate script file types like BAT and CMD so they run with SuperCMD by default?
Technically it should be possible. You can run a script file with CMD started by SuperCMD by running C:\q\SuperCMD\SuperCMD.exe /TI /Run:"%windir%\System32\cmd.exe" /c C:\SomeScript.bat
.
For a simple Command Prompt, you can run C:\q\SuperCMD\SuperCMD.exe /TI /Run:"%windir%\System32\cmd.exe"
.
However, there is no simple "associate SuperCMD with BAT/CMD files" nor "replace Windows CMD with SuperCMD" options you can simply click to enable, for good reasons. Generally this is a bad idea and could create serious security implications.
"However, there is no simple "associate SuperCMD with BAT/CMD files" nor "replace Windows CMD with SuperCMD" options you can simply click to enable, for good reasons. Generally this is a bad idea and could create serious security implications." Would it be possible to create it? I don't mind testing it on my system.
Windows supports default program replacement, but there are significant risks and it is not recommended to do so You can create a new reg file like this and import it into the registry. The corresponding file path for Debugger is the full path of your SuperCMD.exe file
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe]
"Debugger"="C:\\q\\SuperCMD\\SuperCMD.exe"
Additionally, you need to be aware that the startup parameters may vary.