Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: Filename Surrounded by Quotes in a Scalar Variable Causes Open to Fail

by syphilis (Archbishop)
on Sep 14, 2020 at 13:38 UTC ( [id://11121733]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Filename Surrounded by Quotes in a Scalar Variable Causes Open to Fail
in thread Filename Surrounded by Quotes in a Scalar Variable Causes Open to Fail

I think this is a very special case in cmd.exe

Yes, it's true that there are shell commands that do need the quotes (eg copy and move) but set is another command that does not need them.
Running set PATH=%PATH%;C:\with a space works as intended.

Anyway, it seems to me that the need for quotes is by no means specific to windows.
Last night I indicated that cd on Windows doesn't need the quotes, though cd on Linux does.
Tonight, I've noticed that set on Windows doesn't need the quotes, though export on Linux does.

It's pretty clearly inaccurate to present the need for double quotes as a Windows thing - though I guess it could be argued that Bill wasn't actually claiming it was windows-specific.

Cheers,
Rob.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found