>From Basic, we typically build a statement like this:

PATH.TO.BAT.FILE = 'C:\temp\test.bat'
STMT = \DOS /c "\:PATH.TO.BAT.FILE:\"\
EXECUTE STMT 

Now, if your batch file is doing any prompting, you're out of luck

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Don P. Nagai
Sent: Tuesday, November 02, 2010 12:35 PM
To: 'U2 Users List'
Subject: [U2] UniVerse DOS Command - Batch File Error

I have a batch file on a server running UniVerse.  This file can be
executed from Windows Explorer with no problems.

 

If I attempt to run the same batch file using the UniVerse DOS command,
the batch file will not process.  The DOS command line is displayed,
there is a slight delay (2 sec or so) before the "EXIT" command is
issued and the system returns to TCL, but the batch file doesn't run.

 

The UV User Ref is pretty vague on details for the DOS command.

 

Any ideas on what I might be missing?

 

TiA

 

 

 

 

_______________________________________________
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