in reply to Re: How to use perl to open programs
in thread open programs with a particular file!

hum? Why use start for one and not the other? start will cause the Perl script to not wait for the application to finish whether it's a console application or a Windows application.

Replies are listed 'Best First'.
Re^3: How to use perl to open programs
by jZed (Prior) on Jan 20, 2006 at 22:11 UTC
    Sorry, my windoze is a bit rusty. I seem to remember that start was required for some non-console programs.

      You'd need it for non-executables, to call up the associated application:

      system('start /wait "word.doc"'); # Word system('start /wait "program.txt"'); # Notepad or ... system('start /wait http://www.perlmonks.org/'); # Favorite browser