"-k" functionality in Target of 4NT

Jan 18, 2012
1
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.
 
Jun 2, 2008
380
6
I don't have 4NT, but (v13.03.39) tcc.exe /? shows "/K Permanent shell".

Try:

4nt.exe /?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
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.
 
Aug 2, 2011
258
4
Berlin, Germany
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