Posted: Sat Jul 24, 2010 11:27 am
I just discovered why it never worked! I've been using the wrong slash key the whole time!
Windows Command Prompt is a clone of MS-DOS Command Prompt. The very first Dummies book was DOS for Dummies in 1991.psycopathicteen wrote:Is there any Command Prompt for dummies?
The DOS and Windows file system APIs accept both forward slash (/) and backslash (\) as folder separators, and a lot of programs will take both because they use the UNIX convention of starting options with a hyphen (-) (e.g. ls -l for list files in long format). But commands built into the command prompt (e.g. cd) and programs written by Microsoft (e.g. the Visual C++ compiler) assume / is only for options. This dates back to when MS-DOS 2.0 introduced folders. It used \ as the folder separator because / was already taken for command-line options, such as dir /s to list files in all subdirectories or dir /b to list in bare format with only filenames and not size or modification date. MS-DOS 2.0 tried to maintain compatibility with MS-DOS 1.0, which originally was a clone of Digital Research's CP/M, which also used / for command-line options.I've been using the wrong slash key the whole time!
Woah, that's news to me. I usually don't even put a space between cd\directory which stops that from working.mic_ wrote: cd \nes\projects
(or cd \n[press tab until you get to nes]\p[press tab until you get to projects])