LPM: Running system() on a WinNT box
Rich Bowen
rbowen at rcbowen.com
Fri Dec 22 05:56:50 CST 2000
Wesley wrote:
>
> 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.
There's also a bizarre tool that used to come with ActivePerl that would
turn a perl program into a batch file. Or it might have been the other
way around.
--
Rich Bowen
Author: Apache Server Unleashed - www.apacheunleashed.com
Director of Web Application Development - http://www.cre8tivegroup.com/
More information about the Lexington-pm
mailing list