COMSPEC is a command interpreter that other programs will use to execute commands.
I have a few wrappers written in TCC, which had to redefine ComSpec back to CMD to make wrapped programs behave.
The INI file is the same for all variants:
%AppData%\Local\JPSoft\TCMD.INI
I have these settings for running .BTM files:
$ ASSOC .btm
.btm=takecommand.script
$ FTYPE takecommand.script
takecommand.script="C:\Programs\TCC-RT\tcc.exe" /B /C "%1" %*
$ set PATHEXT...
Depending on how exactly you start explorer, it may open a window within your currently running desktop session without actually starting a new process.
And to the sudo, I just use a relauncher.
C:\Users\anrdaemon\bin\sudo.btm :
@START "" /ELEVATED %*
It's foolish to trust the AI blindly.
It only knows what was published on the internet, and unable to critically evaluate it.
Always read the documentation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.