Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: little help with CD command?

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    21

    little help with CD command?

    i was wondering whether some one could help me out a bit when i try to use CD command to change from c: to c:\program files and i use the syntax in command line as following:

    cd program files

    it comes with error like:

    too many parameters - files

    and it comes with same error when i want to change to any directory its containing space, i tried cd program%20files but it doesnt work.

    Some help? thx
    \"Veni,vidi,vici\"

  2. #2
    Type the command in like this

    Code:
    cd \program files
    O.G at A.O

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    21
    nah i tried this one cd \program files also doesnt work :S
    \"Veni,vidi,vici\"

  4. #4
    hm what OS are you on ? I used windows XP Pro for the command....

    try

    cd /?

    that should give you a list of parameters you can use with the cd command

    of id cd /? doesnt work try help cd
    O.G at A.O

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Posts
    21
    Win 2K
    \"Veni,vidi,vici\"

  6. #6
    Senior Member
    Join Date
    Oct 2001
    Posts
    786
    Try:

    Code:
    cd "Program Files"
    The reason cd Program Files doesn't work is because Program Files is viewed as 2 arguments becuase of the space between the words.

  7. #7
    or try cd\pr*

    O.G at A.O

  8. #8
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    cd c:\progra~1

    It’s called truncation and was used for the old DOS systems where file names had to be eight characters or shorter but it still works in XP
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  9. #9
    Junior Member
    Join Date
    Apr 2004
    Posts
    21
    ok i tried cd "Program Files" and it showed me this: incorrect format of paramter - "Program

    i tried cd\program files and it gave me the same error......


    omfg i try and spam windows will all combos i can think of...
    \"Veni,vidi,vici\"

  10. #10
    the beign of authority kurt_der_koenig's Avatar
    Join Date
    Jan 2004
    Location
    Pa
    Posts
    567
    Try this
    Code:
    cd C:\Program Files
    pfff. 'cd program files' works in xp <without the quotes>. It might be that your are misspelling it or it does not support it in 2000. Check out http://www.microsoft.com/resources/d...us/ntcmds.mspx. Even though its for XP, all commands should work. Sorry couldn't find a decent 2000 command list page.

    kurt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •