L
L
LittleBob2022-02-16 18:18:41
Command line
LittleBob, 2022-02-16 18:18:41

How to get to home directory in Windows 10 console?

When you first enter the cmd console, you find yourself in your home directory. Is it possible for some team to return to it again?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
John Smith, 2022-02-16
@LittleBob

cd %userprofile%
assuming you are on the same drive; if the disk is different, you will first (or later) additionally go to the disk where it is stored.
Those. if you are in another folder on drive c - just enter the command.
If you are on a drive, for example, d, you need to additionally change to the corresponding drive, since the cd command changes the directory, but does not change to another drive:
cd %userprofile%
c:
or
c:
cd %userprofile%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question