The /k option is used to run a command (like a batch file) and "k"eep the 
command shell around for more commands. The only difference to the /c option is 
that it does not immediately close after running your command.  *nix doesn't 
have a /k option (but might have a different one).

I suspect Universe doesn't document it because what that CMD prompt can do is 
dependent on the version of DOS/Windows you are running.  They pass off to the 
O/S cmd.exe executable and it's up to that to determine what it does.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of George Gallen
Sent: February-15-12 1:14 PM
To: U2 Users List
Subject: Re: [U2] Universe's DOS command

I Tried doing the same with UV/Unix (except with the SH command).

Sh -c 'ls'   gives me directory
Sh -k 'ls'   gives a strange error: "/bin/ls: /bin/ls: cannot execute binary 
file"

I don't have a DOS box to test DOS on, so what happened when you did DOS /K...?

George


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: Wednesday, February 15, 2012 4:09 PM
To: [email protected]
Subject: Re: [U2] Universe's DOS command


I mean they are not document in the Universe manuals for the DOS command 
executable at TCL.
You only get the /c
It doesn't even tell you where to go to get more information.
Like "There are other options, go to Dos and type cmd /?"
....



_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to