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

"-k" functionality in Target of 4NT

Discussion in 'Open Forum' started by John Wasson, Jan 19, 2012.

  1. John Wasson

    Joined:
    Jan 18, 2012
    Messages:
    1
    Likes Received:
    0
    The properties of an existing 4NT for the Target show

    Target: "C:\Program Files\JPSoft\4NT8\4nt.exe" -k c:\startup\def.bat
    Start in: "C:\Program Files\JPSoft\4NT8\4nt.exe"

    Is there some documentation for the functionality of “-k”? Thanks for your help.
     
  2. TEA-Time

    Joined:
    Jun 2, 2008
    Messages:
    282
    Likes Received:
    1
    I don't have 4NT, but (v13.03.39) tcc.exe /? shows "/K Permanent shell".

    Try:

    4nt.exe /?
     
  3. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,277
    Likes Received:
    38
    Possibly some versions accept startup options beginning with - as well as / -- but if so, I wouldn't depend on it continuing to future releases! Don't rely on undocumented behavior if there's an easy way not to.
     
  4. Frank

    Joined:
    Aug 2, 2011
    Messages:
    258
    Likes Received:
    4
    I think /k is as old as command.com;)
    Code:
    C:\Temp >cmd /?
    Starts a new instance of the Windows command interpreter
     
    CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
        [[/S] [/C | /K] string]
     
    /C      Carries out the command specified by string and then terminates
    /K      Carries out the command specified by string but remains
     

Share This Page