In command prompt we can switch from one drive to another drive by just typing the drive letter name suffixed with the character ‘:’
For example if you are working in C: drive and if you want to switch to E: drive just type ‘E:’ at command prompt and press ‘Enter‘.
Example:
If you want to switch and also move to some particular directory in the new drive then you can use ‘cd’ command with /D switch. For example to move to e:\dir1 from the above C: drive folder you need to run the below command.
cd /D E:\dir1
This will place you in E:\dir1 folder. Just doing cd without /D switch will not change the drive.
{ 1 comment… read it below or add one }
thanks
my problem solved!