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


in reply to system CALC.exe opens command prompt ??

No typo. Just Windows being stupid.

Try the following two commands on your command line. Skip perl altogether.

start c:\WINDOWS\system32\calc.exe start "c:\WINDOWS\system32\calc.exe" start /? [Enter] [Enter] start "" "c:\WINDOWS\system32\calc.exe"
If the first argument is in double-quotes, it assumes that it's a window title, not a command.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^2: system CALC.exe opens command prompt ??
by perlpreben (Beadle) on Sep 09, 2011 at 17:47 UTC
    LOL, that was easy!.... im just used to tying it up like that if I ever get executables with space in them. Thanks! That worked..