XP Pro command line question...

By ryan01
Dec 6, 2005
  1. When I am at the command line prompt (in Recovery Console), I see this:


    Okay, so, when I typed:

    C:\WINDOWS>dir C:\

    it listed all of the folders inside my C: drive... Some of my folders have names like "My Music" <-- with a space between "My" and "Music"...and others just have names like "Windows" and "Pictures", etc. with no spaces in the folder names...

    Here's the thing... Everytime I type to see inside a folder without a space in the name, like this:

    C:\WINDOWS>dir C:\Pictures

    I get to see everything inside the folder, but when I type a folder with a space in it, like:

    C:\WINDOWS>dir C:\My Music

    it does not recognize the name! but it showed that it was there on the C: drive!

    How do I represent a space for a folder name, without actually using a space?? It never seems to recognize the folders with spaces in their names... :suspiciou
  2. Rick

    Rick TechSpot Staff Posts: 4,573   +65

    Try adding quotes around it:
    Or using the DOS naming convention:
  3. ryan01

    ryan01 TS Rookie Topic Starter

    so, would this work:

    C:\WINDOWS>dir "C:\My Documents"

  4. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

  5. ryan01

    ryan01 TS Rookie Topic Starter

    I tried it with quotations, and I was able to view the directory that way...thanks!

    All my files are there, now I just need to get the dang thing to boot...
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.