in reply to Re^3: Launch an exe using system
in thread Launch an exe using system

Thanks of the response. I tried the following code :

my $LifeCamLoc = "C:\\Program Files (x86)\\Microsoft LifeCam"; system('start "$LifeCamLoc"'); system('start LifeCam.exe');

Replies are listed 'Best First'.
Re^5: Launch an exe using system
by Corion (Patriarch) on Nov 14, 2011 at 11:34 UTC

    Maybe you want to read the documentation for the start command of cmd.exe?

    The start command takes at least two parameters, the title and the command to launch. So you will need to pass it two parameters from your script too.

Re^5: Launch an exe using system
by GrandFather (Saint) on Nov 14, 2011 at 19:53 UTC

    To get a feel for what the OS is going to see replace system with print then figure out if what you see is what you would type at the command line to get the effect you expect.

    True laziness is hard work