Ray, Thank you for the suggestion.
I think it got me closer to the solution, but not quite all the way. I tried launching the following batch file four ways with the results listed below: Batchfile = EUMBACKUP.BAT (lines 3 and 4 are one line): CD C:\IBM\UV\EUM dir /s /b > files.txt c:\ibm\uv\bin\uvbackup -f -cmdfil files.txt -t c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf -s c:\IBM\UV\EUMBACKUP\EUMSCREEN_20060106_140008.txt -v The launch program = DT (Versions 1-4): Ver. 1 (Including the STARTcommand and the pathname enclosed in double quotes): 0001: STMT = 'DOS /C "START C:\IBM\UV\EUM\SYSPROG\SYSPROG.BP\EUMBACKUP.BAT"' 0002: EXECUTE STMT 0003: END Created EUMSCREEN....txt file with no contents Generated no TCL message Ver 2 (Including START and not enclosed in double quotes):: 0001: STMT = 'DOS /C START C:\IBM\UV\EUM\SYSPROG\SYSPROG.BP\EUMBACKUP.BAT' 0002: EXECUTE STMT 0003: END Created EUMSCREEN...txt file containing: "Unable to open device c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf" Generated no TCL message Ver. 3 (Not including START and enclosed in double quotes):: 0001: STMT = 'DOS /C "C:\IBM\UV\EUM\SYSPROG\SYSPROG.BP\EUMBACKUP.BAT"' 0002: EXECUTE STMT 0003: END Created EUMSCREEN...txt file containing: "Unable to open device c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf" Generated TCL msg: "Unable to open device c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf" Ver 4. (Not including START and not enclosed in double quotes):: 0001: STMT = 'DOS /C C:\IBM\UV\EUM\SYSPROG\SYSPROG.BP\EUMBACKUP.BAT' 0002: EXECUTE STMT 0003: END Created EUMSCREEN....txt file containing: "Unable to open device c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf" Generated TCL msg: "Unable to open device c:\IBM\UV\EUMBACKUP\EUMBACKUP_20060106_140008.vtf" So, I got both the EUMSCREEN file and the TCL msg using double quotes around the pathname, with and without the START command. I got neither the EUMSCREEN file nor the TCL msg using both double quotes and the START command. I got the EUMSCREEN file but no TCL msg not using double quotes but using the START command. In no case did the batch file run correctly when launched from within Universe. EUMBACKUP.BAT does actually create both the .vtf and .txt files and then perform a complete uvbackup up correctly when launched manually from its folder . Any additional suggestions will be greatly appreciated. tia, Dave Dave Taylor President Sysmark Information Systems, Inc. 49 Aspen Way Rolling Hills Estates, CA 90274 800-SYSMARK (800-797-6275) (O) 310-544-1974 (P) 800-339-1497 (F) 310-377-3550 Your Source for Integrated EDI Translation and DataSync Integration www.sysmarkinfo.com ----- Original Message ----- From: "Ray Wurlod" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, January 07, 2006 2:08 PM Subject: Re: [U2] Launching DOS executables from Universe 10.0.10 on Win 2000 > DOS /C pathname does actually establish a new shell; the /C switch specifies to return once that shell closes. > > You could perhaps use DOS /C "start pathname" > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
