in reply to Open txt file using default program on Windows
Why didn't you show the command that fails? You're leaving us guessing.
You might have stumbled into a problem resulting from start's weird syntax which can be addressed as follows:
my $doc = ...; system(qq{start "" "$doc"});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Open txt file using default program on Windows
by tanyeun (Sexton) on Jun 03, 2013 at 18:36 UTC |
In Section
Seekers of Perl Wisdom