E
edwells
My apologies for posting on this over hashed subject, but I need to set
up environment variables in DOS(XP) then execute a program using the
vars. I'm not having any problem with the individual commands, but
can't get the executable to to use the previously set variables.
Here's my code:
!/usr/bin/perl -w
system 'set var_1';
system 'set var_2';
system ' c:\progs~1\runexe.exe jobname >c:\xx.xx';
up environment variables in DOS(XP) then execute a program using the
vars. I'm not having any problem with the individual commands, but
can't get the executable to to use the previously set variables.
Here's my code:
!/usr/bin/perl -w
system 'set var_1';
system 'set var_2';
system ' c:\progs~1\runexe.exe jobname >c:\xx.xx';