Friday, July 9, 2010

Changing From one Drive to another in Command Line

A quick post to document what came as a little surprising to me.

While using the Command line in Windows Vista Professional, I wanted to change my working directory from C to D. Any amateur would say just type D;\ but guess what, that didn't work for me.

A little googling gave me the solution. I needed to use /d flag.

y:\>cd /d x:\Folder1\Folder2
x:\Folder1\Folder2>

Good Luck!

No comments:

Post a Comment