Easiest DOS Question Ever

0 Members and 1 Guest are viewing this topic. Read 963 times.

miklorsmith

Easiest DOS Question Ever
« on: 2 Apr 2007, 03:04 am »
I'm working my way through the Inguz installation for Squeezebox and ran into a snag.  One of the operations to compile the .wav measurements requires a command line (DOS) entry.  It involves a simple cd to the appropriate directory but the directory is in the "Program Files" master directory and it seems the two-word destination isn't working.  I've Googled it and I'm doing the normal cd command the right way but I'm missing some special notation.  I feel like a tool for asking such a stupid question but Please Help!

Thanks in advance,

Mike

jakepunk

Re: Easiest DOS Question Ever
« Reply #1 on: 2 Apr 2007, 03:36 am »
c:>cd "Program Files"

or

c:>cd progra~1

Long live DOS.

Bob Reynolds

  • Full Member
  • Posts: 526
Re: Easiest DOS Question Ever
« Reply #2 on: 2 Apr 2007, 03:42 am »
It's a common problem since long filenames came into being. The command line interpreter breaks words on spaces so you have to enclose the entire path in double quotes. For example,

cd "\Program Files\Common Files\Java"

Note that the path is not case sensitive, so this also works:

cd "\program files\common files\java"