1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Override TCC internal commands

Discussion in 'Support' started by ron, Jun 1, 2012.

  1. ron

    ron

    Joined:
    Aug 19, 2008
    Messages:
    140
    Likes Received:
    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.
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,300
    Likes Received:
    39
    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
     
  3. ron

    ron

    Joined:
    Aug 19, 2008
    Messages:
    140
    Likes Received:
    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.
     

Share This Page