Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: system CALC.exe opens command prompt ??

by halley (Prior)
on Sep 09, 2011 at 17:44 UTC ( #925141=note: print w/replies, xml ) Need Help??

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..

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://925141]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-10-22 00:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.