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
1 Answer
To change to a directory use the cd command:
cd C:\my\pathOr
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