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 activities. You could use it as the equivalent of the Unix "at" job
queue I am sure.
Something like:
MYCMD.VBS
------------------
Set ShellQueue = WScript.CreateObject("WScript.shell")
ShellQueue.run "%comspec% /c c:\joblists\executable_here",O
Set ShellQueue - Nothing
Save this as with a VBS file extension and add it to the Windows task
scheduler
(any takers?)
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/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: [email protected]
Subject: Re: [U2] Execute Windows Script
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 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 opens up DOS in TCL and ends my program.
>
>
>
> Amy Raisanen
>
> Systems Analyst
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
>
--
john
-------
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/