Как сменить букву диска в командной строке?
Для начала запускаем Командную строку от имени администратора. Проще всего это сделать следующим образом: прописываем в системном Поиске соответствующий запрос, затем кликаем ПКМ по результату выдачи (командной строке) и выбираем пункт Запустить от имени администратора .
После запуска командной строки начинаем вводить следующие команды, нажимая на Enter после каждой из них:
1.
diskpart 2.
list volume 3.
select volume N , вместо N нужно указать номер тома (0, 1, 2, 3 ...) из команды выше.
4.
assign letter=БУКВА — тут указываем желаемую букву для диска.
5 .
exit
IMG_20230603_100038_663_edit_62608007728467.jpg 127.74 KB
{"document": [{"text": [{"type": "string", "attributes": {"bold": true}, "string": "Как сменить букву диска в командной строке?"}], "attributes": []}, {"text": [{"type": "string", "attributes": {"bold": true}, "string": ""}, {"type": "string", "attributes": {}, "string": "Для начала запускаем "}, {"type": "string", "attributes": {"bold": true}, "string": "Командную"}, {"type": "string", "attributes": {}, "string": " "}, {"type": "string", "attributes": {"bold": true}, "string": "строку"}, {"type": "string", "attributes": {}, "string": " от имени администратора. Проще всего это сделать следующим образом: прописываем в системном "}, {"type": "string", "attributes": {"bold": true}, "string": "Поиске"}, {"type": "string", "attributes": {}, "string": " соответствующий запрос, затем кликаем "}, {"type": "string", "attributes": {"bold": true}, "string": "ПКМ"}, {"type": "string", "attributes": {}, "string": " по результату выдачи (командной строке) и выбираем пункт "}, {"type": "string", "attributes": {"bold": true}, "string": "Запустить от имени администратора"}, {"type": "string", "attributes": {}, "string": "."}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "После запуска командной строки начинаем вводить следующие команды, нажимая на "}, {"type": "string", "attributes": {"bold": true}, "string": "Enter"}, {"type": "string", "attributes": {}, "string": " после каждой из них:"}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": ""}, {"type": "string", "attributes": {"bold": true}, "string": "1. "}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "diskpart"}], "attributes": ["code"]}, {"text": [{"type": "string", "attributes": {"bold": true}, "string": "2."}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "list volume"}], "attributes": ["code"]}, {"text": [{"type": "string", "attributes": {"bold": true}, "string": "3."}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "select volume N"}], "attributes": ["code"]}, {"text": [{"type": "string", "attributes": {}, "string": ", вместо "}, {"type": "string", "attributes": {"bold": true}, "string": "N"}, {"type": "string", "attributes": {}, "string": " нужно указать номер тома ("}, {"type": "string", "attributes": {"bold": true}, "string": "0, 1, 2, 3"}, {"type": "string", "attributes": {}, "string": "...) из команды выше."}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": ""}, {"type": "string", "attributes": {"bold": true}, "string": "4. "}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "assign letter=БУКВА"}], "attributes": ["code"]}, {"text": [{"type": "string", "attributes": {}, "string": "— тут указываем желаемую букву для диска."}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": ""}, {"type": "string", "attributes": {"bold": true}, "string": "5"}, {"type": "string", "attributes": {}, "string": ". "}], "attributes": []}, {"text": [{"type": "string", "attributes": {}, "string": "exit\n"}], "attributes": ["code"]}, {"text": [{"type": "attachment", "attributes": {"presentation": "gallery"}, "attachment": {"caption": "", "contentType": "image/jpeg", "filename": "IMG_20230603_100038_663_edit_62608007728467.jpg", "filesize": 130801, "height": 511, "pic_id": 592945, "url": "https://storage.yandexcloud.net/pabliko.files/article_cloud_image/2023/06/03/IMG_20230603_100038_663_edit_62608007728467.jpeg", "width": 650}}], "attributes": []}], "selectedRange": [619, 619]}
Комментарии 0