Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Hi, I must be an idiot (command prompt question)  (Read 1108 times)

0 Members and 1 Guest are viewing this topic.

lordtodd75

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 364
  • Last login:July 21, 2020, 01:42:37 am
  • I especially hate punks!
Hi, I must be an idiot (command prompt question)
« on: August 01, 2006, 04:13:16 pm »
I cannot seem to change directory to a directory with a space in it. I know I have done this a million times and I am rather embarrassed :-[ I am running xp home.

eg. cd "C:\Program Files"

I tried it a bunch of other ways as well (no quotes, all one word), no go.

You wanna hear the best part. I am the head of the IT dept in a multi million dollar company. Hold on, let me get my flame retardant gear  :laugh2:

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Last login:August 21, 2015, 03:11:31 pm
  • Friends don't let friends build frankenpanels...
Re: Hi, I must be an idiot (command prompt question)
« Reply #1 on: August 01, 2006, 04:24:46 pm »
in a blank c: prompt, put in this
cd\program files

Don't forget you good ol' dir/w command to list contents

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Last login:August 21, 2015, 03:11:31 pm
  • Friends don't let friends build frankenpanels...
Re: Hi, I must be an idiot (command prompt question)
« Reply #2 on: August 01, 2006, 04:25:24 pm »
Hey, since you are a big-wig can you get me a consulting fee? :laugh2: :laugh2: :laugh2:

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:July 30, 2025, 03:29:53 pm
Re: Hi, I must be an idiot (command prompt question)
« Reply #3 on: August 01, 2006, 04:28:41 pm »

Either take off the drive letter or use the /d switch for the cd command.


thebrownshow

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:December 14, 2010, 03:14:32 pm
Re: Hi, I must be an idiot (command prompt question)
« Reply #4 on: August 01, 2006, 04:52:22 pm »
Code: [Select]
cd c:\program files

or

cd "c:\Program Files"

Both worked just fine for me, no quotes.  You're not on the D: drive or anything, are you?  I sat there for 15 minutes once wondering why my prompt didn't change and I didn't get an error.  You can also always try tab-completion and see what that throws at you.

AtomSmasher

  • I'm happy to fly below Saint's radar
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3884
  • Last login:September 02, 2022, 03:50:10 am
  • I'd rather be rich than stupid.
    • Atomic-Train
Re: Hi, I must be an idiot (command prompt question)
« Reply #5 on: August 01, 2006, 07:49:04 pm »
Since DOS used to only accept 8 characters and they never took that out in later versions, you can still access the files the 8 char way

c:\progra~1

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Hi, I must be an idiot (command prompt question)
« Reply #6 on: August 01, 2006, 10:56:51 pm »
Program files is always progra~1 that I know of. To get the 8.3 names for any file, do a dir /x.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

lordtodd75

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 364
  • Last login:July 21, 2020, 01:42:37 am
  • I especially hate punks!
Re: Hi, I must be an idiot (command prompt question)
« Reply #7 on: August 02, 2006, 08:44:58 am »
Eureka! How could I have forgotten about the dos naming convention?? One too many smacks in the head I suppose. I will blame it on age I just recently hit 30 and I heard it is all downhill from here  :cheers: Thanks fellas.