changing dirs in dos

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

long directory names are displaying with tildas (ie,
<progr~a>), and i can't figure out how to navigate from
dos. I've tried cd program files, cd program_files, cd
progr~a. Any ideas? Thanks!
 
Just enter what you see. If you see progra~1, do cd progra~1. I don't
understand.

BTW, it's not DOS.

Ray at work
 
long directory names are displaying with tildas (ie,
<progr~a>), and i can't figure out how to navigate from
dos. I've tried cd program files, cd program_files, cd
progr~a. Any ideas? Thanks!

CD "c:\Program Files"

You need quotes when there are imbedded spaces.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Keith said:
long directory names are displaying with tildas (ie,
<progr~a>), and i can't figure out how to navigate from
dos. I've tried cd program files, cd program_files, cd
progr~a. Any ideas? Thanks!

Make sure you are using the 32-bit command interpreter, CMD.EXE

Don't use the 16-bit COMMAND.COM except when necessary.
 
Keith said:
long directory names are displaying with tildas (ie,
<progr~a>), and i can't figure out how to navigate from
dos. I've tried cd program files, cd program_files, cd
progr~a. Any ideas? Thanks!

Here's a couple:-

o In Windows NT4/2000/XP/2003, the command interpreter is cmd.exe NOT
command.com.

o To specify filenames containing spaces enclose the name with double
quotes. Eg:-

cd "program files"
 
Back
Top