in reply to .bat and perl mystery
First, I would run a simple file test to make sure your script can see the file, something like
Then, a simple system("yourscript"); call should work. Also, if your .bat script writes output, try redirecting it to a file eg. system("yourscript > out.txt");Please post the relevant sections of your code so we can be of more assistance.
-Jason
unless(-e "yourscript.bat") { print "Cannot see yourscript.bat...\n"; }
Then, a simple system("yourscript"); call should work. Also, if your .bat script writes output, try redirecting it to a file eg. system("yourscript > out.txt");Please post the relevant sections of your code so we can be of more assistance.
-Jason
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: .bat and perl mystery
by Anonymous Monk on Jun 12, 2002 at 16:57 UTC | |
by insensate (Hermit) on Jun 12, 2002 at 17:09 UTC |
In Section
Seekers of Perl Wisdom