It depends...  You are in DOS mode (as opposed to window mode). If you launch 
anything that requires a graphical environment, it will launch that environment 
as LocalSystem or something equivalent and you'll have a problem (you can 
end-task in task-manager - you've probably already figured that out).  In 
theory, you can execute just cmd.exe (with no /c option) and you will be able 
to provide it input through the keyboard.  You just can't do anything that 
requires window mode.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: February-15-12 3:57 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Universe's DOS command


Oh.... wow.
Urm....

So any command that requires input will hang, I got that, because it's not 
actually opening an interactive session with *your process* but rather with the 
server (or thereabouts).

So I just connected to the server and checked Task Manager and there are a lot 
of processes with my name on them from failed attempts where some input was 
requested.

Which also tells me why files weren't closing and updating, and why I was 
getting errors that files were still in use and so on.








-----Original Message-----
From: Ed Clark <u...@edclark.net>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Wed, Feb 15, 2012 3:35 pm
Subject: Re: [U2] Universe's DOS command


yeah, they left that out. If you look at the docs for the SH. CSH, and VI 
ommands, they suggest that you look at the unix documentation on those ommands, 
but they don't mention it in the manual for DOS. Maybe they assumed ou would 
figure that out by looking at the VOC entry:
    DOS
01 V
02 cmd.exe
03 U
04 TICERGM
07 /Q
The U on line 3 of the VOC means that running the verb will execute line 2 as 
an s command and pass the rest of the command line to the os command. If you 
anted to you could create your own verbs like this, for example if you have 
ygwin installed you could run the cygwin shell instead of the cmd.exe shell.
his is more useful on unix than on windows, because the command needs to run in 
he console and not try to open desktop windows. If, for example, you try to run 
OTEPAD.EXE like this, your terminal will hang because notepad is running 
omewhere 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 
essage telling you the command doesn't work on your OS. The "E" on line 4 of he 
voc controls this. Verbs with an E run on windows but not on unix. (There's  
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 
xecutable 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 <robert.hou...@fwic.net>
 To: U2 Users List <u2-users@listserver.u2ug.org>
 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: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org]
> n Behalf Of Wjhonson
 ent: February-15-12 11:00 AM
 o: u2-users@listserver.u2ug.org
 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 <r...@anzio.com>
 o: U2 Users List <u2-users@listserver.u2ug.org>
 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 t 
 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
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 egards,
 ..Bob Rasmussen,   President,   Rasmussen Software, Inc.
 ersonal e-mail: r...@anzio.com
 ompany e-mail: r...@anzio.com
        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
 -us...@listserver.u2ug.org
 tp://listserver.u2ug.org/mailman/listinfo/u2-users
 _______________________________________________
 2-Users mailing list
 2-us...@listserver.u2ug.org
 ttp://listserver.u2ug.org/mailman/listinfo/u2-users
 ______________________________________________
 2-Users mailing list
 2-us...@listserver.u2ug.org
 ttp://listserver.u2ug.org/mailman/listinfo/u2-users

 _______________________________________________
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to