RE: [U2] Execute Windows Script

2008-01-27 Thread Tony G
The following script is intended to copy files from one drive to another. Upon encountering a permissions issue, the script stops dead. I expect that the MS way to accomplish these sorts of tasks is via Visual Studio... featuring bona fide exception handling. Errors can be handled via:

RE: [U2] Execute Windows Script

2008-01-25 Thread Brian Leach
:[EMAIL PROTECTED] On Behalf Of John Jenkins Sent: 24 January 2008 22:46 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Execute Windows Script Windows prefers scripting language nowadays to BAT files. There is an article in the IBM Knowledge Base I think in building these for some specific

RE: [U2] Execute Windows Script

2008-01-25 Thread Brutzman, Bill
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Leach Sent: Friday, January 25, 2008 4:02 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Execute Windows Script JayJay This is pet topic of mine: for some reason so many Windows administrators are completely

[U2] Execute Windows Script

2008-01-24 Thread Amy Raisanen
My goal is to run a Universe program that creates a Windows batch file and then executes it. I create the batch file using WRITESEQ and that works great, but how can I execute that windows batch file from within my program? I've tried using the EXECUTE = DOS call batchfile.bat but, that just

RE: [U2] Execute Windows Script

2008-01-24 Thread Brian Leach
Hi Amy Try DOS /C path_to_your_batchfile.bat Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Raisanen Sent: 24 January 2008 16:10 To: u2-users@listserver.u2ug.org Subject: [U2] Execute Windows Script My goal is to run a Universe

Re: [U2] Execute Windows Script

2008-01-24 Thread Ed Clark
For universe: EXECUTE DOS /C BATCHFILE.BAT for unidata: PCPERFORM batchfile.bat On Jan 24, 2008, at 11:09 AM, Amy Raisanen wrote: My goal is to run a Universe program that creates a Windows batch file and then executes it. I create the batch file using WRITESEQ and that works great, but how

RE: [U2] Execute Windows Script

2008-01-24 Thread Brutzman, Bill
Raisanen Sent: Thursday, January 24, 2008 11:10 AM To: u2-users@listserver.u2ug.org Subject: [U2] Execute Windows Script My goal is to run a Universe program that creates a Windows batch file and then executes it. I create the batch file using WRITESEQ and that works great, but how can I execute

RE: [U2] Execute Windows Script

2008-01-24 Thread Amy Raisanen
To: u2-users@listserver.u2ug.org Subject: RE: [U2] Execute Windows Script Hi Amy Try DOS /C path_to_your_batchfile.bat Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Raisanen Sent: 24 January 2008 16:10 To: u2-users@listserver.u2ug.org

Re: [U2] Execute Windows Script

2008-01-24 Thread john reid
what would be an example of a windows batch file, that one would want to run? Maybe a small example, like what the batch file would look like, would be great. It sounds interesting. john On 1/24/08, Amy Raisanen [EMAIL PROTECTED] wrote: My goal is to run a Universe program that creates a Windows

RE: [U2] Execute Windows Script

2008-01-24 Thread John Jenkins
/batch.mspx http://technet.microsoft.com/en-gb/library/bb490887.aspx Regards JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of john reid Sent: 24 January 2008 21:32 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Execute Windows Script what would