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: