http://www.perlmonks.org?node_id=1036614


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"});