Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Override TCC internal commands

Aug
151
0
It's been too long but I thought there was a special char I could use when invoking a CMD command that TCC also supplied - forcing the shell to use the MS version. For example, tasklist. I checked several places in the help but could not find it.
 
One way to run an external is to specify the complete path to the executable:

Code:
C:\Windows\System32\tasklist.exe

If the executable is in the search path, a sneaky quick method is to quote the name:

Code:
"tasklist"

If you usually want this program rather than the internal command, create an alias:

Code:
alias tasklist=c:\windows\system32\tasklist.exe

Finally, if you never want the internal command, you can disable it with SETDOS:

Code:
setdos /i-tasklist
 
Thanks! " " was the method I'd used before but could not recall.

It's rare I need it but sometimes I come across a switch for a command that the TCC version doesn't support.
 

Similar threads

Back
Top