in reply to Re: system command
in thread system command

Does that work if the OPs text file doesn't have an extension that is associated with word?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

Replies are listed 'Best First'.
Re^3: system command
by cdarke (Prior) on Mar 31, 2010 at 10:07 UTC
    Good point, I had made that assumption. The command can be grabbed programatically using
    my @Cmd = FetchCommand('.doc');
    assuming that file association is setup for Microsoft Word and the .doc file extension.