in reply to calling .EXE through Perl script
On the face of it your syntax is fine. Is parser.exe on the search path or in teh current directory?
As a test you may care to try `notepad.exe` instead.
You can iterate over the files in a folder like this:
use strict; use warnings; my $scan; opendir $scan, '.'; while (my $entry = readdir ($scan)) { next if ! -f $entry; # Skip if not a file print "$entry\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling .EXE through Perl script
by Anonymous Monk on May 11, 2006 at 09:29 UTC |