Override TCC internal commands

ron

Aug 19, 2008
147
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.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,950
53
Albuquerque, NM
prospero.unm.edu
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
 

ron

Aug 19, 2008
147
0
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.