Tuesday, February 27, 2018

Did you know the forward slash and the backslash work the same in the old DOS cd command?

cd Foo/Bar/Baz

 
 

...and...

cd Foo\Bar\Baz

 
 

...are both gonna take you into the Baz folder in the Bar folder in the Foo folder in the immediate directory. Forward slashes tend to be associated with web URLs and backslashes file paths at directory structure, but I guess there was no World Wide Web when DOS was written. I do recall I could not get away with the same fuzzy thing in the Lingo language for Macromedia Director.

No comments:

Post a Comment