in reply to running exe from perl (again)
One way:
#!C:/Perl/bin use warnings; use strict; # #801473 my $temp = 'F:\fake.htm'; chdir ('C:/Program Files/rest/of/path'); # to program.exe system("program.exe $temp");
This will work, of course, only for programs that actually run in the cmd window; if you want to run a W32 program, you'll want to revise your SOPW.
Update:
On asking for help
How do I post a question effectively?
Markup in the Monastery
Perl Monks Approved HTML tags
What shortcuts can I use for linking to other information?
Writeup Formatting Tips
|
|---|