После запуска приглашение командной строки показывает текущий каталог. По умолчанию, это каталог профиля текущего пользователя. Для смены текущего каталога используется специальная команда CD.
Команда CD. Смена текущего каталога.
Для того чтобы перейти из текущего каталога в другой каталог используется команда cd. Команда имеет следующий синтаксис:CD [/D] [диск:][путь][..].
Команда для перехода в корневой каталог текущего диска выглядит так: cd\

Для того чтобы перейти в один из каталогов диска «C» используется команда: cd [каталог]
Например, зайдем в папку «Program Files»: cd program files

Для перехода из одного каталога диска «C» в другой каталог диска «C» используется команда: cd [\каталог]
Например, зайдем из папки «Program Files» в папку «Windows»: cd \windows

Для перехода из каталога в подкаталог используется команда: cd [каталог]
Например, зайдем из папки «Windows» в папку «Fonts», расположенную в папке «Windows»: cd fonts

Можно сразу перейти в папку «Fonts» из корневого каталога диска «C»: cd [каталог/подкаталог]
Например, перейдем в корень диска «C» с помощью команды cd\, а затем перейдем в папку «Fonts»:
cd windows/fonts

Чтобы перейти из текущего подкаталога в родительский каталог применяется команда cd..

Для перехода из текущего подкаталога в другой каталог, который не является родительским по отношению к текущему каталогу, применяется команда: cd [\каталог].
Например, перейдем в папку «Fonts» (cd fonts), а затем в папку «Program Files»: cd \program files

Таким образом, из вышесказанного следует вывод:
В случае если необходимо поменять не только текущий каталог, но и текущий диск, необходимо использовать ключ /D. Команда будет выглядеть так: cd /D [диск:/].
Например, перейдем из папки «Program Files», расположенной на диске «C», на диск «D»: cd /D d:/

Теперь с диска «D» перейдем в папку «Fonts», расположенную в папке «Windows» на диске «C»:
cd /D c:/windows/fonts

Команда СD может записываться как СHDIR. CD и CHDIR являются аналогичными командами и обе являются сокращениями от англ. «change directory» - поменять каталог.
Предыдущая статья: Перенаправление ввода-вывода и конвейеризация.
Оглавление: Командная строка.
Следующая статья: Команда MKDIR и RMDIR для создания и удаления каталога.
Комментарии
Надолго запомнил!
Надолго запомнил!
about your situation; many of us have created some nice methods and we are looking to swap solutions with others, be sure to shoot me an email if interested.
Also visit my web-site ... plusph: https://plusph-ph.com
reading thjis impressive informative paragraph here
at myy home.
My blog - สล็อตเว็บตรง: https://9Ightout.com/
It's nice to come across a blog every once in a
while that isn't the same old rehashed material.
Great read! I've saved your site and I'm adding your RSS
feeds to my Google account.
my website: gbgbet: https://gbgbet-br.com
Its very well written; I love what youve got
to say. But maybe you could a little more in the way of
content so people could connect with it better. Youve got
an awful lot of text for only having one or 2 pictures.
Maybe you could space it out better?
my homepage bw321: https://bw321-ph.com
updates, therefore where can i do it please help out.
My homepage; haha777: https://haha777-ph.com
unexpected feelings.
my page: Livedrawsdy: https://npfatlas.ru/bitrix/rk.php?goto=https%3A%2F%2Flivedrawsdy.digital
Your story-telling style is witty, keep doing what you're doing!
Also visit my webpage ... Syair: https://syair.lol/
up to other users that they will assist, so here it takes place.
Also visit my site ... Paito SDY: https://a-tec.su/bitrix/redirect.php?goto=https://detikwarta.cyou/
picked up something new from right here. I did however
expertise several technical points using this website, since I experienced to reload
the site a lot of times previous to I could get it to load properly.
I had been wondering if your web hosting
is OK? Not that I'm complaining, but sluggish loading instances times will often affect your placement in google and could damage your high
quality score if advertising and marketing with Adwords.
Well I am adding this RSS to my e-mail and could look out for much more of your respective intriguing content.
Ensure that you update this again very soon.
Also visit my website: Broker Resmi Indonesia: https://play.google.com/store/apps/details?id=com.foreximf.client
with your RSS. I don't understand why I am unable to join it.
Is there anyone else having the same RSS issues? Anyone that knows the solution can you kindly respond?
Thanx!!
Here is my page Paitosgp: https://sgp1.store/
commented here, I am in fact enjoying by these.
My homepage; Broker Forex Terpercaya: https://www.quickpro.co.id/
issues as well..
my homepage - Paitosgp: https://sgp1.store/
from right here. I did however expertise some technical
issues using this web site, as I experienced to reload the web site lots of
times previous to I could get it to load correctly. I had
been wondering if your web host is OK? Not that I am complaining, but slow
loading instances times will very frequently affect your placement
in google and can damage your high quality score
if advertising and marketing with Adwords.
Anyway I am adding this RSS to my e-mail and can look out for much
more of your respective fascinating content. Ensure that
you update this again soon.
My web page :: Paitosgp: https://togel1.site/
it's remarkable article.
Feel free to suref to my web site - public Relations for Luxury realtors: https://www.youtube.com/@DawningPR
This applies to rental properties where surface care matters.
One example in this field is reinigungs-profies.de.
Stop by my website - learn more: https://worldaid.eu.org/discussion/profile.php?id=1880787
I have noo knowledge of coding however I had been hoping to start
mmy own blog soon. Anyways, should you have any recommendations or techniques for
new blog owners please share. I know this is off subject however I just needed to
ask. Many thanks!
Feel free to surf to my web site at home chiropractic care: https://www.facebook.com/housecallchiros/
you make running a blog lolk easy. The whole look off your sire is fantastic, as smartly aas the content!
My blog post :: reputation management companies: http://Instagram.com/lucidleverageseo/
ask. Would you be interested in exchanging links or maybe guet
authoring a blog post or vice-versa? My blog discusses a
lot of the same subjects as yours and I feel we could greatly benefit from each other.
If you happen to be interested feel free to shoot mme an email.
I lokok forward to hearing from you! Superb blog by the way!
Here is my blog post ... hotel noise control consultant Jacksonville: https://www.youtube.com/channel/UCjyhcw5VrWyXxESFF_8UNBA