I don't understand the Double Double quote in open program seminar lesson 2 10 minutes in. The explanation is that because there is spaces but why should that matter?
Reply from Alex Hedley:
If you open up a command prompt (cmd) and use the command "cd" which is change directory and then pass it an argument of a file path like "c:/program files/office/" etc, if you don't quote the path the command prompt will think the space is another command so cd "c:/program" "files/office/" Whereas if you quote it, it will pass the whole string as a single argument cd "c:/program files/office/"
It's like when you create a function that expects multiple arguments.
function createname(firstname, lastname) return first name & " " & lastname end function
When you call this function you will get the string "Alex Hedley" returned createname("Alex", "Hedley")
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.