Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: MS system open file with space

by BrowserUk (Pope)
on Feb 20, 2013 at 20:23 UTC ( #1019842=note: print w/ replies, xml ) Need Help??


in reply to Re: MS system open file with space
in thread MS system open file with space

c:\> start "c:\program files" (Pops useless command prompt window at default directory)

That's because the optional first argument to start is a window title.

If the first argument begins with ", then it is taken as a title -- take a look at the titlebar of that useless command prompt window.

To disable that effect, prefix the directory with a dummy title:start "" "c:\program files"


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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.


Comment on Re^2: MS system open file with space
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-12-26 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (172 votes), past polls