I always thought that I was a command line guru but recently a pretty silly question had me, I opened Windows DOS Prompt by typing cmd in run . It landed me in the base of my user folder i.e D:\document and settings\MyUserName>

Now I wanted to jump to drive C:\ to run a program
I kept trying with cd C:\ and C:\ or chdir C: but they were wrong. 🙁

I wasted a good two minutes before realizing that the correct way to change drive in DOS prompt is to just enter the the Driver letter of the partition where you want to go

all I had to do was to type c: and that would take me to C drive
the example is also show below


D:\>
D:\>
D:\>c:

C:\>

Change dos drive

Change dos drive

Trackback

no comment untill now

Add your comment now