Access c:\" my path " in windows command prompt

I want to access a path in C drive when I open the command prompt I have c:\user\mynamewhere is I want to access c:\so that I can access any paht I want in C

2

1 Answer

To change to a directory use the cd command:

cd C:\my\path

Or

cd \

To change to the root of any drive you're in.

To change drives just put its letter followed by a colon:

D:

You need to change drives first in order to change to a directory that is not in the current drive. Example:

Let's assume you're in C:\ and you want to change to D:\my\other\path, so you have to issue the following commands:

C:\> D:
D:\> cd \my\other\path
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like