yeah, they left that out. If you look at the docs for the SH. CSH, and VI
commands, they suggest that you look at the unix documentation on those
commands, but they don't mention it in the manual for DOS. Maybe they assumed
you would figure that out by looking at the VOC entry:
DOS
001 V
002 cmd.exe
003 U
004 TICERGM
007 /Q
The U on line 3 of the VOC means that running the verb will execute line 2 as
an os command and pass the rest of the command line to the os command. If you
wanted to you could create your own verbs like this, for example if you have
cygwin installed you could run the cygwin shell instead of the cmd.exe shell.
This is more useful on unix than on windows, because the command needs to run
in the console and not try to open desktop windows. If, for example, you try to
run NOTEPAD.EXE like this, your terminal will hang because notepad is running
somewhere in a virtual desktop that you can't get to.
If you try to use the SH verb on windows, or the DOS verb on unix, you get a
message telling you the command doesn't work on your OS. The "E" on line 4 of
the voc controls this. Verbs with an E run on windows but not on unix. (There's
a chapter on this in the system description manual).
On Feb 15, 2012, at 4:08 PM, Wjhonson wrote:
>
> 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 /?"
> ....
>
>
>
>
> -----Original Message-----
> From: Robert Houben <[email protected]>
> To: U2 Users List <[email protected]>
> Sent: Wed, Feb 15, 2012 1:00 pm
> Subject: Re: [U2] Universe's DOS command
>
>
> They actually do document these. Go to a command prompt and type:
> cmd /?
> Or
> help cmd
> (Both produce the same output)
> Enjoy!
> -----Original Message-----
> rom: [email protected]
> [mailto:[email protected]]
> n Behalf Of Wjhonson
> ent: February-15-12 11:00 AM
> o: [email protected]
> ubject: Re: [U2] Universe's DOS command
>
> h... My... God
> mazing
> try DOS /C DIR
> hen try DOS /K DIR
> how come they don't document this and we have to make guesses?
>
> -----Original Message-----
> rom: Bob Rasmussen <[email protected]>
> o: U2 Users List <[email protected]>
> ent: Wed, Feb 15, 2012 10:38 am
> ubject: Re: [U2] Universe's DOS command
>
> n educated guess would be that the DOS command invokes the command rocessor
> command.com in long-ago Windows, cmd.exe now) and passes the \c" (or is it
> /c"?) to it.
> f in Windows you open a CMD prompt, and type
> cmd /?
> u can see what options it accepts. My output includes:
> /C Carries out the command specified by string and then terminates
> urther down the help display, it gives more information.
> n Wed, 15 Feb 2012, Wjhonson wrote:
>
> The DOS command in Universe takes a "/c" argument and then you can specify a
> at
> ile like
> DOS \c test.bat
> What does \c mean? Are there other arguments like \z or \x that it can take?
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> egards,
> ..Bob Rasmussen, President, Rasmussen Software, Inc.
> ersonal e-mail: [email protected]
> ompany e-mail: [email protected]
> voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> fax: (US) 503-624-0760
> web: http://www.anzio.com
> treet address: Rasmussen Software, Inc.
> 10240 SW Nimbus, Suite L9
> Portland, OR 97223 USA
> ______________________________________________
> -Users mailing list
> [email protected]
> tp://listserver.u2ug.org/mailman/listinfo/u2-users
> _______________________________________________
> 2-Users mailing list
> [email protected]
> ttp://listserver.u2ug.org/mailman/listinfo/u2-users
> ______________________________________________
> 2-Users mailing list
> [email protected]
> ttp://listserver.u2ug.org/mailman/listinfo/u2-users
>
> _______________________________________________
> 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