`cd` is the command-line command for navigating the directory tree. It stands for C(hange) D(irectory). For the optical disc, please use [compact-disc]

learn more… | top users | synonyms

52
votes
7answers
109k views

Using cd Command in Windows Command Line, Can't Navigate to D:\

This may be a stupid question, and I think I have looked elsewhere to find the answer... Might be a path issue, but when I open the command line and type from the C:\>: cd D:\ I cannot get to ...
7
votes
3answers
4k views

Why doesn't “cd D:” change the command context to D:? [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can't Navigate to D:\ Every time I want to change directory context to another drive (D, E, F, or whatever..) on a Windows ...
5
votes
0answers
778 views

Why wouldn't cd <drive letter>: work? [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can't Navigate to D:\ I am in the C partition and I type at the prompt: c:\> cd d: ... and it echoes: d:\ c:\> ...
2
votes
4answers
289 views

How to cd to a newly created dir?

cd "$(mkdir -v "$(date -R)"|sed s+.`(.*)'.*)" This is meant to create a dir named $(date -R). I could simply cd $(date -R), but the culprit is the date could change since the previous command was ...
2
votes
3answers
3k views

“cd -” equivalent on Windows? [duplicate]

Possible Duplicate: Navigate to previous directory in windows command prompt Is there an equivalent of Linux's cd - (change to previous directory) in Windows?
2
votes
1answer
26 views

What's happening when you do 'cd //'? [duplicate]

This is just trivia really, but it's just got me wondering what's going on. I accidentally hit / instead of . today and got this: [andrew.morris@server ~]$ cd // [andrew.morris@server //]$ pwd / I ...
1
vote
2answers
6k views

Command line, go back to last directory [duplicate]

Possible Duplicate: Go back to previous directory in shell How can I change to the previous directory instead of going up? is there a command line way to navigate back to the directory I ...
1
vote
1answer
69 views

cd not doing anything in the Windows Shell [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can’t Navigate to D:\ Look at the latter lines of the shell, the cd lines. Nothing's happening :( This is the Win8 shell. I ...
1
vote
1answer
37 views

Good way to bookmark/navigate relative directory paths?

I work on a linux system with bash 4.x where I frequently find myself navigating different copies of very deep (and large) file directory structures. However, in reality I only need to access a ...
0
votes
3answers
47 views

Cannot change directory with cd in DOS using Win7

I would like to change my Present Working Directory in DOS (I am running Win7 professionnal). When I perform a cd D:\, nothing happens: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 ...
0
votes
1answer
27 views

cd into first/second/third directory returned by ls -d */

Say I am in a directory code: /code /very-long-and-descriptive-name If I want to cd into that directory (or a directory if it comes first in alphabetical order), I can just cd *. Now say I add ...
0
votes
1answer
40 views

What does cd myfolder/* do in Linux?

I am new to Linux and have been using the cd command for a while. I just saw someone cd'ing to somefolder/* like cd foo/*. What does that do? Also, depending on how that works, what will be the ...
-1
votes
0answers
31 views

How to make a bootable usb stick and cd disk? [duplicate]

so the operating system does not work on one of my laptops due to some reason. However I decided that I want to put the operating system on again. I have a USB drive and 8gigabyte CD disks and would ...
-4
votes
0answers
34 views

Difficulty in opening a CD-ROM drive [on hold]

I find difficulty in opening my CD-ROM for Asus computer x551ca hcl. I have tried multiple times to open it so that I could put a CD into it, but it has proven futile. Please aid me on how to open a ...