Override TCC internal commands

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Aug 19, 2008
146
0
#1
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,376
39
Albuquerque, NM
prospero.unm.edu
#2
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
 
Aug 19, 2008
146
0
#3
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.