Results 1 to 9 of 9

Thread: C:\ in Command Prompt

  1. #1
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts

    C:\ in Command Prompt

    How do i get command prompt to not be C:\WINDOWS and instead be just C:\

    I have tryed to simply typing c: like you would to get into another drive letter however it just goes back to C:\WINDOWS

    Thanks </noob>
    (\__/)
    (='.'=)
    (")_(")

  2. #2
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts
    cd c:\
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  3. #3
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    Quote Originally Posted by nvening
    How do i get command prompt to not be C:\WINDOWS and instead be just C:\
    To change the shortcut permanently so it starts in C:\ (safer than C:\Windows anyway):
    Right-click the shortcut
    Click Properties
    Change "Start in" entry to C:\
    Click OK

    To change the current working directory (cwd) to the root when in C:\Windows:
    To move explicitly to the root: cd\
    To go up 1 level in the folder structure: cd..
    Last edited by Paul Adams; 13-03-2006 at 07:42 PM.
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

  4. #4
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    Quote Originally Posted by Agent
    cd c:\
    Thanks!

    I tried both cd and c: but not together!!!
    (\__/)
    (='.'=)
    (")_(")

  5. #5
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    I would guess that cd .. would have worked as well.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  6. #6
    Splash
    Guest
    CD.. will indeed do the same

  7. #7
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    cd \ always takes you to the root of that volume.
    throw new ArgumentException (String, String, Exception)

  8. #8
    Senior Member
    Join Date
    Mar 2005
    Posts
    4,942
    Thanks
    171
    Thanked
    386 times in 313 posts
    • badass's system
      • Motherboard:
      • ASUS P8Z77-m pro
      • CPU:
      • Core i5 3570K
      • Memory:
      • 32GB
      • Storage:
      • 1TB Samsung 850 EVO, 2TB WD Green
      • Graphics card(s):
      • Radeon RX 580
      • PSU:
      • Corsair HX520W
      • Case:
      • Silverstone SG02-F
      • Operating System:
      • Windows 10 X64
      • Monitor(s):
      • Del U2311, LG226WTQ
      • Internet:
      • 80/20 FTTC
    Quote Originally Posted by TheAnimus
    cd \ always takes you to the root of that volume.
    QFT!
    "In a perfect world... spammers would get caught, go to jail, and share a cell with many men who have enlarged their penises, taken Viagra and are looking for a new relationship."

  9. #9
    MacDaddy! darrensen's Avatar
    Join Date
    Apr 2005
    Location
    Sussex
    Posts
    1,695
    Thanks
    6
    Thanked
    43 times in 37 posts
    • darrensen's system
      • Motherboard:
      • Gigabyte z77 UD3H
      • CPU:
      • i7
      • Memory:
      • 8gb DDR3
      • Storage:
      • Loads!
      • Graphics card(s):
      • EVGA 780 GTX
      • PSU:
      • Corsair 850Watt
      • Case:
      • Coolermaster Storm Trooper
      • Operating System:
      • Win 7 64bit
      • Monitor(s):
      • Dell 24"
      • Internet:
      • Plusnet Fibre 80mb
    cd.. takes you back 1 level.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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