LPM: Running system() on a WinNT box

Wesley wsheldahl at qx.net
Fri Dec 22 00:38:42 CST 2000


How does this sound:  if the command to create the at job is static, put
all the nasty stuff in a regular batch file, then use perl's system to
run the batch file.  If the guts of the command can change, then write
the command out to a batch file and use system() to run the dynamically
created batch file.  That way the batch file can have exactly the
characters in it that at and Windows want it to have, without having to
indulge Perl as well.  HTH.

Gregg Casillo wrote:
> 
> I'm trying to create an "at" job on a Windows NT box with the following
> command:


Wes Sheldahl
wsheldahl at qx.net



More information about the Lexington-pm mailing list