Командная строка windows 10 полный список команд с примерами

Windows 10 предусматривает гибкую настройку и управление системой с помощью командной строки. Она позволяет пользователю посредством команд ...

Windows 10 предусматривает гибкую настройку и управление системой с помощью командной строки. Она позволяет пользователю посредством команд воспользоваться той или иной функцией. Например, существует команда SFC /scannow, позволяющая производить сканирование и мгновенное исправление системных файлов. Подобных функций десятки, но не все о них знают. Однако некоторые из них бывают очень даже полезными при постоянном использовании ПК. 

Сегодня мы поговорим подробнее об основных командах для командной строки в Windows 10. 

Открываем командную строку

Для пользователей Windows 10 в командной строке предоставлено огромное количество команд, однако не все из них используются даже опытными юзерами. Поэтому мы рассмотрим с вами только основные команды, которые могут пригодиться в разных случаях. Но для начала я покажу вам, каким способом можно запустить командную строку и как ею пользоваться. 

Самый простой способ запуска командной строки – это ввод специальной команды в окне «Выполнить». Для этого воспользуемся следующей инструкцией: 

  1. Используем комбинацию клавиш «Win+R», где Win – это клавиша, расположенная в нижней левой части клавиатуры с логотипом Windows. Далее вводим команду cmd и нажимаем на клавишу «Enter».

    Как открыть командную строку

    Запускаем командную строку

  2. В отобразившемся окне перед нами открывается командная строка, которая уже готова к получению команд от пользователя.

    Командная строка Winodws 10

    Командная строка включает в себя простой интерфейс и мощный функционал

Также вы можете запустить командную строку и через меню «Пуск». Для этого достаточно кликнуть правой кнопкой мыши по пуску и выбрать «Командная строка» либо «Windows PowerShell». Тут же можно открыть программу от имени администратора. 

Давайте теперь попробуем воспользоваться командной строкой на примере очень простой команды: control. Она позволяет запускать панель управления на компьютере. 

Как открыть панель управления с помощью командной строки

Чтобы использовать команду, необходимо ввести нужное слово или набор слов и символов, а затем нажать на кнопку «Enter»

С вводом команд разобрались, теперь можно приступить к просмотру основных команд. Начнем мы с тех, которые предназначены для быстрого запуска стандартных программ. 

Запуск основных программ и утилит системы

Нижеуказанный список не всем будет полезен, но там есть команды, без которых пользователю не обойтись. Например, обратите внимание на такие команды как dxdiag и regedit. С помощью них запускаются важные утилиты, которые просто так вы не сможете найти в операционной системе. 

  • appwiz.cpl – утилита «Программы и компоненты»  
  • certmgr.msc – окно для управления сертификатами системы 
  • control – «Панель управления» 
  • control printers – окно для управления устройствами и принтерами 
  • control userpasswords2 – «Учетные записи пользователя»
  • compmgmt.msc – «Управление компьютером»
  • devmgmt.msc – «Диспетчер устройств»
  • dfrgui – «Оптимизация дисков»
  • diskmgmt.msc – «Управление дисками»
  • dxdiag – запуск средства диагностики DirectX
  • hdwwiz.cpl – еще одна команда для вызова окна «Диспетчер устройств»
  • firewall.cpl – Брандмауэр Защитника Windows
  • gpedit.msc – «Редактор локальной групповой политики»
  • lusrmgr.msc – «Локальные пользователи и группы»
  • mblctr – «Центр мобильности» 
  • mmc – консоль управления системными оснастками
  • msconfig – «Конфигурация системы»
  • odbcad32 – панель администрирования источника данных ODBC
  • perfmon.msc – «Системный монитор», предоставляющий возможность просмотра изменений в производительности компьютера и системы
  • presentationsettings – «Параметры режима презентации» 
  • powershell – PowerShell (та же командная строка, но с большим функционалом)
  • powershell_ise – «Интегрированная среда сценариев» оболочки PowerShell
  • regedit – «Редактор реестра»
  • resmon – «Монитор ресурсов»
  • rsop.msc – «Результирующая политика»
  • shrpubw – «Мастер создания общих ресурсов»
  • secpol.msc – «Локальная политика безопасности»
  • services.msc – средство управления службами операционной системы
  • taskmgr – «Диспетчер задач»
  • taskschd.msc – «Планировщик заданий»

Управление и настройка операционной системы

В данном разделе будет рассказано о командах, с помощью которых можно выполнять различные действия в операционной системе.  

  • сomputerdefaults – определение параметров программ по умолчанию
  • control admintools – открытие папки со средствами администрирования
  • date – отображение и изменение текущей даты в командной строке 
  • displayswitch – изменение подключенных экранов
  • dpiscaling – параметры дисплея
  • eventvwr.msc – просмотр журнала событий
  • fsmgmt.msc – средство работы с общими папками
  • fsquirt – отправка и прием файлов по Bluetooth
  • intl.cpl – региональные настройки
  • joy.cpl – настройка внешних игровых устройств 
  • logoff – выход из системы
  • lpksetup – установка и удаление языков интерфейса
  • mobsync – запуск окна «Центр синхронизации»
  • msdt – официальное средство диагностики службы поддержки Microsoft
  • msra – вызов утилиты «Удаленный помощник Windows» 
  • msinfo32 – просмотр сведений об операционной системе 
  • mstsc – подключение к удаленному Рабочему столу
  • napclcfg.msc – настройка конфигурации операционной системы
  • netplwiz – панель управления «Учетными записями пользователей»
  • optionalfeatures – включение и отключение стандартных компонентов операционной системы
  • shutdown – завершение работы компьютера 
  • sigverif – средство проверки подлинности файлов
  • sndvol – запуск микшера громкости
  • slui – средство активации лицензии ОС Windows
  • sysdm.cpl – вызов окна «Свойства системы»
  • systempropertiesperformance – «Параметры быстродействия»
  • systempropertiesdataexecutionprevention – запуск службы DEP, компонента «Параметров быстродействия» ОС
  • timedate.cpl – изменение даты и времени
  • tpm.msc – «Управление доверенным платформенным модулем TPM на локальном компьютере»
  • useraccountcontrolsettings – «Параметры управления учетными записями пользователей»
  • utilman – управление «Специальными возможностями» в разделе «Параметров» операционной системы
  • ver – показывает сведения о текущей версии ОС Windows.
  • wf.msc – активация режима повышенной безопасности в стандартном Брандмауэре ОС Windows
  • winver – просмотр общих сведений об операционной системе и ее версии
  • WMIwscui.cpl – переход к Центру поддержки операционной системы
  • wscript – «Параметры сервера сценария» ОС Windows
  • wusa – «Автономный установщик обновлений Windows»

Настройки периферийных устройств

Есть также и немного команд, предназначенных для вызова стандартных программ и элементов управления оборудования, подключенного к компьютеру или ноутбуку. 

  • main.cpl – настройка мыши
  • mmsys.cpl – панель настройки звука 
  • printui – «Пользовательский интерфейс принтера»
  • printbrmui – средство переноса принтера, предоставляющее возможность экспорта и импорта программных компонентов и драйверов оборудования
  • printmanagement.msc – «Управление печатью»
  • sysedit – редактирование системных файлов с расширениями INI и SYS (Boot.ini, Config.sys, Win.ini и др.)
  • tabcal – средство калибровки дигитайзера
  • tabletpc.cpl – просмотр и настройка свойств планшета и пера
  • verifier – «Диспетчер проверки драйверов»
  • wfs – «Факсы и сканирование»
  • wmimgmt.msc – вызов «Элемента управления WMI» стандартной консоли

Работа с файлами и подключенными накопителями 

Нижеуказанные команды предназначены для работы с файлами, папками, дисковыми устройствами и накопителями. Некоторые из них работают только внутри предварительно вызванных консольных утилит. Для получения более подробных сведений по ним вы всегда можете обратиться к справке, воспользовавшись командой help.

Как открыть справку в командной строке

Вводим help и нажимаем на клавишу «Enter»

  • assoc — выводит и позволяет изменять связь между расширениями имени и типов того или иного пакетного файла
  • attrib – редактирование атрибутов предварительно обозначенного файла или папки
  • bcdboot – создание и/или восстановление системного раздела
  • cd – просмотр наименования текущей папки или переход в другую
  • chdir – просмотр папки или переход к другой
  • chkdsk – проверка жестких и твердотельных дисков, а также подключенных к ПК внешних накопителей
  • cleanmgr – инструмент «Очистка диска»
  • convert – преобразование файловой системы тома
  • copy – копирование файлов (с указанием конечного каталога)
  • del – удаление выбранных файлов
  • dir – просмотр файлов и папок по указанному пути
  • diskcopm – позволит сравнить содержимое двух гибких дисков
  • dickcopy – полностью скопирует содержимое одного гибкого диска на любой другой (пакетное копирование)
  • diskpart – консольная утилита для работы с дисками (открывается в отдельном окне «Командной строки», для просмотра поддерживаемых команд обратитесь к справке – help)
    erase – удаление одного или нескольких файлов
  • fc – сравнение файлов и поиск различий
  • format – форматирование локальных дисков Windows 
  • label – удаление, изменение, а также создание меток тома для дисков
  • md – создание новой папки
  • mdsched – проверка оперативной памяти
  • move – перемещение файлов по заданному пути
  • ntmsmgr.msc – средство работы с внешними накопителями
  • recdisc – создание диска восстановления операционной системы (работает только с оптическими накопителями)
  • recover – восстановление данных
  • rekeywiz – инструмент для шифрования данных («Шифрующая файловая система (EFS)»)
  • RSoPrstrui – Настройка средства «Восстановление системы»
  • sdclt – «Резервное копирование и восстановление»
  • sfc /scannow – проверка целостности системных файлов с возможностью их восстановления
  • tree – графическое отображение структуры каталогов диска или папки
  • verify – анализ правильности записи файлов на диск
  • vol – отображает собственную метку и серийный номер тома для диска

Работа внутри командной строки

Если вы захотите изменить цвет, почистить содержимое командной строки или воспользоваться внутренними настройками, то вы также можете использовать команды. Например, если вписать команду color и выбрать специальное кодовое слово, то изменится весь фон и цвет текста командной строки.

Как изменить цвет командной строки

Команда color fc придает утилите бледно-розовый оттенок

  • cls – очистка содержимого экрана командной строки 
  • color – изменение фона и цвета
  • exit – выход из командной строки 
  • help – отображение полного списка команд командной строки 
  • prompt – изменяет слева от вводимого текста название на любое другое

    Как изменить приглашение командной строки Windows

    Теперь вместо <C:UsersИлья> будет отображаться слово «hello»

Сеть и интернет

Немного команд для настройки сети и интернета: 

  • control netconnections – просмотр и настройка доступных «Сетевых подключений»
  • inetcpl.cpl – переход к свойствам интернета
  • NAPncpa.cpl – аналог первой команды, предоставляющий возможность настройки сетевых подключений
  • telephon.cpl – настройка модемного подключения к интернету

Заключение

Подытожив, хочется сказать, что не нужно запоминать какую-либо команду дословно. Ознакомления с ними более чем достаточно. Ну а если вам понадобится воспользоваться какой-либо функцией на компьютере с Windows 10, то вспомните про командную строку и посмотрите вышеперечисленные команды – уверен, вы найдете то, что нужно. Если же вы хотите более обширно изучить командную строку, то рекомендую почитать профессиональную литературу, которую легко найти в Интернете.

Post Views: 18 877

ping 192.168.100.1
ping 192.168.100.1

Изучите основные команды windows, которые помогут вам в устранении неполадок, настройке и сборе информации о системе. 50 базовых команд Windows с примерами.

Системный администратор

Большинство этих команд встроено в windows, поэтому нет необходимости что-либо загружать или устанавливать (единственное исключение — команды Sysinternals). Кроме того, эти команды Windows можно запускать из командной строки или консоли PowerShell.

Совет: Большинство команд windows содержат меню справки, в котором перечислены все параметры и синтаксис команды. Введите команду, за которой следует /? для просмотра меню справки. Например, ping /?

1. ping (проверка сетевого соединения)

Команда ping проверяет сетевое соединение между двумя устройствами, посылая эхо-запросы ICMP. Например, компьютер A проверяет, есть ли у него соединение с компьютером B, посылая несколько пакетов туда и обратно.

Команда ping по-прежнему является одним из моих любимых инструментов для тестирования базового сетевого подключения. Она быстрая и очень простая в использовании. Кроме того, я использую ее для следующих целей:

  • Проверка потери пакетов
  • Тестирование задержки
  • Тестирование DNS-запросов
  • Тестирование возможности подключения с настройкой новых соединений (может ли мой маршрутизатор общаться со следующим узлом, например, маршрутизатором провайдера?)

Примеры Ping

Чтобы проверить соединение с другим устройством по IP, используйте приведенную ниже команду.

ping 192.168.100.1

50 базовых команд Windows с примерами

ping 192.168.100.1

Ping по имени хоста.

ping bookflow.ru

Для большинства команд windows вы можете ввести команду, за которой следует /? для просмотра справки, в ней будет показан полный синтаксис и параметры. Поэтому для просмотра справки по команде ping используйте эту команду:

ping /?

Ключ -l задает размер пакета.

ping -l 2024 192.168.5.1

Ключ -a будет выполнять обратное разрешение имен на IP (поиск PTR-записей).

ping -a 142.250.177.46

-Ключ -t будет выполнять непрерывный пинг. Очень популярная команда для тестирования сетевого соединения.

ping -a 192.168.5.1

Отправьте вывод любой команды в текстовый файл.

ping -t > c:ittest-ping.txt

2. ipconfig (получение информации о сетевом адаптере)

Команда ipconfig используется для отображения конфигурации TCP/IP компьютера. Вы можете отобразить информацию об IP для одной или всех сетевых карт, установленных на компьютере.

Эта команда также может отображать кэш DNS на локальной машине, очищать DNS, освобождать и обновлять адреса DHCP на всех сетевых картах.

Примеры команд ipconfig

Для просмотра IP-конфигурации всех сетевых карт на компьютере введите команду ниже и нажмите клавишу Enter.

ipconfig /all

50 базовых команд Windows с примерами

ipconfig /all

Ключ /all для отображения информации об IP для всех сетевых карт.

ipconfig /all

/flushdns для очистки кэша локального DNS

ipconfig /flushdns

/registerdns для запуска динамической регистрации имен DNS и IP-адресов, настроенных на компьютере.

ipconfig /registerdns

/release для освобождения адресов DHCP. Это освободит адреса DCHP на сетевых картах, настроенных на DHCP.

ipconfig /release

/renew ключ обновит DHCP-адрес для всех сетевых карт.

ipconfig /renew

/displaydns ключ отобразит кэш клиента DNS.

ipconfig /displaydns

3. nslookup (поиск записей dns)

50 базовых команд Windows с примерами

nslookup (поиск записей dns)

Команда nslookup используется для проверки записей DNS и устранения неполадок DNS. Это обязательная команда для любого системного администратора или сетевого инженера. Вы можете выполнять все виды тестов для проверки правильности работы DNS, вы можете проверять PTR, A, MX, SOA и многие другие типы записей DNS. Это еще одна из моих любимых команд windows для устранения неполадок в сети.

Примеры команд Nslookup

Чтобы проверить наличие записи A в имени хоста, выполните следующие два шага

Шаг 1: введите nslookup и нажмите enter

Шаг 2: введите доменное имя и нажмите enter

50 базовых команд Windows с примерами

Nslookup

4. tracert (поиск и устранение неисправностей в сети)

Команда tracert используется для отслеживания пути, пройденного пакетом от IP-адреса источника до адреса назначения. Это означает, что она отображает каждый маршрутизатор (hop), через который проходит пакет, чтобы достичь места назначения.

Эту команду я использую не очень часто, но все же она может пригодиться при устранении неполадок в сети. Например, у нас были некоторые проблемы со скоростью веб-сайта у нашего провайдера, а у другого провайдера проблем не было. Провайдер попросил нас запустить traceroute, чтобы они могли увидеть путь, который проходит сайт.

Примеры команды tracert

Синтаксис этой команды — tracert, за которым следует имя хоста или IP.

tracert google.com

50 базовых команд Windows с примерами

tracert google.com

У этой команды очень мало опций. Единственный ключ командной строки, который я считаю полезным, это -d, который используется для того, чтобы не преобразовать адрес в имя хоста.

5. Команда shutdown (выключение)

50 базовых команд Windows с примерами

команда shutdown (выключение)

Команда shutdown делает именно это — она выключает компьютер. Эта команда полезна для выключения или перезапуска локальных или удаленных компьютеров. Она также позволяет быстро просмотреть все журналы регистрации причин перезапуска или выключения компьютера.

Примеры shutdown

Эта команда перезагрузит компьютер pc2.

shutdown /r /m \pc2

Эта команда выключит удаленный компьютер.

shutdown /s /m \pc2

Просмотр журналов предыдущих выключений/перезагрузок.

shutdown /d

Вот пример вывода команды shutdown /d. Это может быть полезно, чтобы быстро проверить, почему компьютер перезагрузился или выключился.

50 базовых команд Windows с примерами

Другие примеры shutdown

Некоторые из них используют несколько ключей, обратитесь к файлу справки shutdown /? для объяснения каждого ключа команды.

Выход пользователя из системы на удаленном компьютере.

shutdown /l /m \pc2

Перезагрузка удаленного компьютера без обратного отсчета.

shutdown /r /m \pc2 /t 0

Выключает локальный компьютер и указывает период времени до выключения в секундах.

shutdown /s /t 60

Выключение удаленного компьютера с помощью пользовательского сообщения.

shutdown /m \pc2 /c "Rebooting computer, have a nice day"

Прервать выключение системы.

shutdown /a

Принудительное закрытие приложений без предупреждения.

shutdown /s /f

6. Gpupdate (обновление групповой политики)

Команда gpupdate используется для применения групповых политик на компьютере в домене windows. Это очень популярная команда, я видел много админов, которые используют ее. Вы можете запустить эту команду, чтобы обновить GPO и избежать перезагрузки, но это не всегда срабатывает.

Примеры команды gpupdate

Эта команда выполняет все изменения GPO на компьютере.

gpupdate

50 базовых команд Windows с примерами

gpupdate

Используйте /force для повторного применения всех GPO на компьютере.

gpupdate /force

7. Netstat (отображение сетевых подключений)

netstat

netstat

Это потрясающая команда.

Команда netstat отображает информацию о TCP/IP-соединениях, статистику ethernet и таблицу маршрутизации компьютера. Как системный администратор я использую эту команду на серверах и клиентах Windows при устранении проблем с подключением. Я могу убедиться, что серверы приложений работают правильно, проверив, что служба запущена и прослушивает соединения на порту.

Примеры команды netstat

Отображение всех активных и прослушиваемых портов.

netstat -a

Отображение всех соединений в числовом порядке.

netstat -a -n

Вот результат выполнения вышеуказанной команды. Вы видите, как можно проверить подключение сервера и клиента. Он показывает, что мой контроллер домена с IP 192.168.100.10 установил эти четыре соединения с IP 192.168.100.11.

Другие примеры netstat

Отображает исполняемый файл, который используется для создания соединения.

netstat -ab

Отображает статистику ethernet. Это быстрый способ проверить наличие ошибок и потерь сетевой карты.

netstat -e

Отображает exe и идентификатор процесса (PID), связанный с соединением.

netstat -abo

Отображает локальную таблицу маршрутизации компьютера.

netstat -r

Отображает FQDN с информацией о подключении.

netstat -af

8. Dcdiag (проверка контроллера домена)

Если вы являетесь администратором Active Directory, то вы должны знать эту команду. Эта команда анализирует состояние контроллеров домена, она содержит более 30 встроенных тестов. Вы должны регулярно запускать эту команду, чтобы убедиться, что ваша среда домена находится в рабочем состоянии.

dcdiag

dcdiag

примеры dcdiag

Чтобы запустить dcdiag на определенном контроллере домена, выполните следующую команду

dcdiag /s:DC1

9. Net stop и net start (службы windows)

net stop and net start

net stop and net start

Простая команда для запуска и остановки служб windows.

Примеры

В этом примере я остановлю и запущу службу спулера принтера.

net stop spooler

и теперь запустим службу спулера.

net start spooler

Это все для данной команды, дополнительных параметров нет.

10. Systeminfo

systeminfo

systeminfo

Команда systeminfo отображает сведения о конфигурации компьютера, такие как имя и версия ОС, информация об оборудовании, время загрузки, сервер входа в систему и многое другое.

Эта команда отображает множество деталей, я обычно использую ее для проверки времени последней загрузки, сервера входа в систему и версии ОС.

Вы можете запустить эту команду на удаленных компьютерах с параметром /s.

system info /s pc1

11. Getmac (получить mac-адрес)

Getmac (получить mac-адрес)

Getmac (получить mac-адрес)

Эта команда возвращает MAC-адрес всех сетевых карт в системе. При устранении проблем с подключением клиента мне часто нужен MAC-адрес компьютера, чтобы я мог проверить, что он подключен на коммутаторе. Эта команда — лучший способ быстро получить MAC-адрес компьютера.

Чтобы запустить ее на локальном компьютере, просто введите getmac.

Для запуска на удаленном компьютере используйте параметр /s.

getmac /s pc1

12. Gpresult (результаты групповой политики)

gpresult (результаты групповой политики)

gpresult (результаты групповой политики)

Команда gpresult сообщает о том, какие групповые политики и параметры применяются к пользователю или компьютеру.

Это еще одна команда, которую необходимо знать, если вы работаете с серверами Active Directory.

Чтобы отобразить все примененные GPO, выполните эту команду. Примечание: Вам необходимо запустить командную строку в режиме администратора, иначе она не создаст полный отчет.

gpresult /r

Приведенная выше команда предоставит отчет для GPO, применяемых как к пользователю, так и к компьютеру.

gpresult /r

gpresult /r

и настройки компьютера.

и настройки компьютера.

и настройки компьютера

Другие примеры GPResult (50 базовых команд Windows с примерами)

Отображение GPO, примененных к пользователю.

gpresult /r /scope:user

Отображение GPO, примененных к компьютеру.

gpresult /r /scope:computer

Отображение GPO для удаленного компьютера.

gpresult /s pcname

Создание отчета в формате HTML.

gpresult /h c:report.html

Отправка вывода команды в текстовый файл.

gpresult /r > c:result.txt

13. Команда whoami

команда whoami

команда whoami

Эта команда показывает, кто в настоящее время вошел в локальную систему. Она также может показать, к каким группам принадлежит пользователь. Используйте эту команду для отображения членства в группах зарегистрированных пользователей.

Получить текущего залогинившегося пользователя.

whoami

Отображение групп пользователей, к которым принадлежит текущий пользователь.

whoami /groups

50 базовых команд Windows с примерами

whoami /groups

Другие команды whoami (50 базовых команд Windows с примерами)

Отображение имени пользователя в формате UPN

whoami /upn

Отображает текущий домен, имя пользователя и SID пользователей

whoami /user

Отображает всю информацию для текущего пользователя

whoami /all

14. Клиент telnet

50 базовых команд Windows с примерами

клиент telnet

Я использую клиент windows telnet для проверки того, разрешает ли удаленный хост подключение к определенному порту или нет, когда кто-то говорит, что ваш брандмауэр блокирует работу программы.

Если вы знаете номер порта, на котором работает приложение, вы можете использовать приведенную ниже команду. В данном примере я установил filezilla, поэтому порт 21 должен быть открыт.

Синтаксис: telnet + имя хоста или IP + номер порта

telnet srv01 21

Вы можете получить или не получить ответ от удаленного сервера. В данном случае с filezilla это так. Вы также можете получить пустой экран при успешном подключении.

50 базовых команд Windows с примерами

Если соединение не установлено, вы должны получить сообщение, как показано ниже.

50 базовых команд Windows с примерами

Это все, для чего я использую клиент telnet. Полный синтаксис команды можно найти в документации Microsoft по telnet.

15. Set (получить сведения о системе)

50 базовых команд Windows с примерами

set (получить сведения о системе)

Команда set отображает информацию о переменных окружения.

Я не так часто использую эту команду, но все же она полезна для проверки входа пользователя на сервер или быстрого просмотра переменных окружения.

Одна маленькая хитрость этой команды заключается в том, что вы можете ввести команду, за которой следует строка, и она отобразит только эти результаты. Например, если я хочу найти все, что начинается с path, я использую следующую команду

set path

Теперь он просто отображает все, что начинается с «path».

50 базовых команд Windows с примерами

отображает все, что начинается с «path».

16. Cd (сменить каталог)

Команда cd позволяет перейти в другой каталог на вашем компьютере.

Например, чтобы перейти в каталог windows, используйте эту команду.

cd windows

50 базовых команд Windows с примерами

cd windows

Вы также можете начать вводить имя каталога и нажать клавишу tab для автоматического завершения. Например, для перехода в каталог «Program Files» я могу набрать cd pro и нажать клавишу tab, после чего произойдет автоматическое завершение пути.

17. Mkdir (создать каталог)

Команда mkdir создает каталог или подкаталог. Она создает каталог в текущем каталоге. Например, в командной строке мой путь — c:it, если я наберу mkdir folder1, это создаст каталог folder1 в папке c:it.

50 базовых команд Windows с примерами

Команда mkdir

Если я посмотрю в проводнике windows, то увижу каталог folder1.

50 базовых команд Windows с примерами

18. Sfc (средство проверки системных файлов)

Команду sfc можно использовать для проверки и замены важных системных файлов windows. Если у вас синий экран или другие сбои, команда sfc может устранить проблему. Приведенная ниже команда просканирует все защищенные файлы операционной системы и при необходимости выполнит ремонт.

sfc /scannow

50 базовых команд Windows с примерами

sfc /scannow

Можно также запустить тест только без ремонта.

sfc /verifyonly

19. Net use (подключение к сетевым ресурсам)

Команда net use используется для подключения и удаления общих ресурсов, таких как сетевые диски и принтеры.

В этом примере я подключу сетевой диск к моему серверу srv-vm1

net use \srv-vm1share

Вы можете использовать net use для составления списка ресурсов.

net use \srv-vm1share

net use \srv-vm1share

Чтобы удалить ресурс, используйте /delete

net use z: /delete

20. Chkdsk (проверить диск)

Команда chkdsk сканирует файловую систему на диске и проверяет целостность файлов и метаданных. У этой команды много опций командной строки, поэтому для получения подробной информации обратитесь к меню справки (chkdsk /?).

Для проверки диска в режиме только для чтения выполните следующую команду.

chkdsk

chkdsk

chkdsk

Используйте /F, чтобы исправить все ошибки, обнаруженные на диске.

chkdsk /f

21. Route Print (просмотр локальной таблицы маршрутизации)

Для просмотра таблицы маршрутизации локального компьютера используйте команду route print. Это полезно, когда компьютер оснащен несколькими сетевыми интерфейсными картами и вам нужно определить маршрут, по которому проходит сетевой трафик.

route print

route print

route print

22. powercfg (Настройки питания)

Список и настройка параметров питания с помощью команды powercfg

Перечислить все схемы электропитания:

powercfg /list

Измените тайм-аут монитора:

powercfg /change monitor-timeout-ac 5

23. Tasklist (отображение запущенных процессов)

Tasklist (список задач) отображает запущенные процессы на локальном компьютере.

tasklist

tasklist

24. Taskkill (завершить процесс)

Завершить процесс по номеру PID. В этом примере я принудительно завершаю процесс PID 1808.

taskkill /pid 1808 /f

taskkill /pid 1808 /f

taskkill /pid 1808 /f

25. Format (50 базовых команд Windows с примерами)

Команда format используется для форматирования раздела на жестком диске или флэш-накопителе. При этом все данные с раздела будут удалены.

format

format

В этом примере я отформатирую диск E в файловую систему NTFS.

format e:  /fs:NTFS

26. Cls (очистить экран)

Команда cls очищает консоль командной строки. Это полезно, когда на экране много информации, а вам нужен пустой экран.

В командной строке windows введите cls и нажмите enter, чтобы очистить экран.

27. Diskpart (50 базовых команд Windows с примерами)

Diskpart позволяет управлять дисками, разделами и томами на локальном компьютере. Вы можете удалять, создавать, форматировать, расширять и уменьшать тома.

Чтобы отобразить список дисков на локальном компьютере, выполните следующие команды.

diskpart
list disk

28. Robocopy

Robocopy позволяет легко копировать файлы и каталоги из одного места в другое. Это очень популярная команда windows для перемещения файловых серверов на другой сервер.

Копирование файлов с одного сервера на другой.

robocopy c:source \srv-vm2share /z /e /copyall

29. Xcopy

Xcopy — еще одна команда Windows, используемая для копирования файлов и папок. Чтобы скопировать все файлы и папки в новое место, используйте эту команду.

xcopy c:myfolder e:myfolder

30. Del

Команда del используется для удаления файлов и папок. При удалении файлов с помощью команды del они не попадают в корзину.

Удаление одного файла.

del c:itpass.txt

Удалите все файлы exe.

del c:it*.exe

Удаление файлов и вложенных папок.

del c:it*.*

31. Assoc (ассоциация файлов)

Команда assoc отображает или изменяет ассоциации расширений имен файлов.

Список всех текущих ассоциаций расширений имен файлов.

assoc

assoc

assoc

Вот пример создания ассоциации файлов. Я свяжу расширение файла .jpg с типом файла jpegfile.

assoc .jpg=jpgfile

32. Schtasks (запланированные задачи)

Команда schtasks позволяет добавлять, удалять, изменять и просматривать запланированные задачи на локальном компьютере.

Просмотр запланированных задач:

schtasks

Удаление запланированной задачи:

SCHTASKS /Delete /TN "BackupBackup and Restore"

33. Net user (50 базовых команд Windows с примерами)

Команда net user отображает информацию об учетной записи пользователя на локальном компьютере или в домене.

На ПК введите net user, чтобы увидеть информацию об учетной записи компьютера.

net user

net user

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

net user /domain

net user /domain

net user /domain

Получите данные учетной записи домена.

net user username /domain

net user username /domain

net user username /domain

34. Arp

Команда arp отображает и изменяет кэш протокола разрешения адресов (ARP) на локальном компьютере.

Отображение кэша arp для всех интерфейсов:

arp -a

arp -a

arp -a

Чтобы очистить кэш arp, используйте эту команду:

arp -d

35. Hostname (50 базовых команд Windows с примерами)

Эта команда windows отображает имя хоста компьютера.

hostname

hostname

hostname

36. Cipher (шифровать данные)

Команда cipher полезна для перезаписи удаленных данных в windows. Когда вы удаляете данные из Windows, их можно восстановить с помощью программного обеспечения для восстановления данных. С помощью команды cipher можно удалить удаленные данные с диска, чтобы никто не смог их восстановить.

Чтобы перезаписать удаленные данные на томе, используйте ключ /w. Например, я очищу путь c:itprivate.

cipher /w:c:itprivate

cipher /w:c:itprivate

cipher /w:c:itprivate

37. fc (сравнение файлов)

Команда fc сравнивает два файла и выводит разницу между ними.

В этом примере я проверю разницу между двумя текстовыми файлами (ping1.txt и ping2.txt).

fc c:itping1.txt c:itping2.txt

fc c:itping1.txt c:itping2.txt

fc c:itping1.txt c:itping2.txt

38. Psexec (50 базовых команд Windows с примерами)

PsExec позволяет выполнять команды на удаленных компьютерах. Это полезно, когда нужно устранить неполадки на удаленном компьютере без полного контроля над ним.

В этом примере я выполню команду ipconfig на удаленном компьютере pc1, чтобы получить информацию об IP-адресе.

psexec \pc1 ipconfig

psexec \pc1 ipconfig

psexec \pc1 ipconfig

39. Sysinternals (50 базовых команд Windows с примерами)

Sysinternals — это набор утилит, разработанный Марком Руссиновичем и Брайсом Когсвеллом, который используется для устранения неполадок и мониторинга компьютеров под управлением Windows. Набор утилит стал очень популярным среди ИТ-администраторов для мониторинга процессов windows и сбора информации о системе. В 2006 году Microsoft приобрела компанию и ее активы.

Набор инструментов можно загрузить с сайта Sysinternals.

40. Rsop (параметры групповой политики)

Команда RSOP создает отчет о политиках, примененных к компьютеру и пользователю. Это полезно для устранения неполадок в настройках групповой политики на локальном компьютере.

Эта команда требует запуска с правами локального администратора.

rsop

rsop

rsop

41. Mmc

mmc открывает консоль управления Microsoft Management Console. Затем можно добавлять/удалять собственные оснастки для быстрого доступа к различным консолям управления.

mmc консоль

mmc консоль

42. Dir (50 базовых команд Windows с примерами)

Команда dir выводит список всех файлов и каталогов в определенном каталоге.

Чтобы перечислить содержимое текущего каталога, используйте эту команду:

dir

dir

dir

Чтобы перечислить содержимое другой папки, перейдите в эту папку или введите dir и путь к ней. Например, я перечислю содержимое папки c:itprivate.

dir c:itprivate

Если в каталоге много файлов и папок, вы можете приостановить листинг каталога, чтобы просмотреть его.

dir /p

dir /p

dir /p

43. Runas (50 базовых команд Windows с примерами)

Runas позволяет запустить определенный инструмент или программу от имени другого пользователя. Например, вы вошли в систему как обычный пользователь (без прав администратора), а вам нужно запустить программу под учетной записью, имеющей права локального администратора.

В этом примере я вошел в систему как adproadam.reed и запущу программу (блокнот) под учетной записью локального администратора.

runas /user:administrator c:windowsnotepad.exe

50 базовых команд Windows с примерами

runas /user:administrator c:windowsnotepad.exe

44. Rmdir (удаление каталогов)

Вам нужно удалить каталог? Команда rmdir удалит каталог.

По умолчанию команда удаляет только пустые каталоги. Если вы хотите удалить каталог и файлы в нем, используйте ключ /s.

Например, я удалю каталог c:itprivate и все файлы в этом каталоге.

rmdir c:itprivate /s

45. W32tm (служба времени)

Команда w32tm используется для настройки параметров службы времени windows. Если вам нужно настроить службу времени на сетевой сервер времени, вы можете использовать эту команду для настройки параметров. 50 базовых команд Windows с примерами.

Чтобы просмотреть конфигурацию службы времени, выполните эту команду.

w32tm /query /computer: /configuration

50 базовых команд Windows с примерами

w32tm /query /computer: /configuration

У этой команды много опций, она сложнее, чем казалось. Для получения более подробной информации ознакомьтесь со страницей документации w32tm.

46. Msiexec (установка msi файлов)

Команду msiexec можно использовать для установки и изменения пакетов установщика msi и MSP. Эта команда обычно используется для тихой установки программного обеспечения с помощью программы установки msi.

Установите пакет.

msiexec /i c:install_file.msi

Установка пакета без участия пользователя.

msiexec /i c:install_file.msi /quit

47. Ver (50 базовых команд Windows с примерами)

Команда ver отображает версию Windows.

50 базовых команд Windows с примерами

ver

48. Manage-bde (BitLocker)

Проверка состояния bitlocker, шифрование и расшифровка дисков с данными.

Проверка состояния битлокатора.

manage-bde -status

Включите bitlocker и зашифруйте диск.

manage-bde -on

49. Findstr

Findstr ищет фрагменты текста в файлах.

Например, я буду искать слово food в файле ping1.txt

findstr food c:itping1.txt

Приведенная выше команда будет искать в файле любой экземпляр строки food.

Вот как выглядит текстовый файл.

50 базовых команд Windows с примерами

Ниже показано, что команда дважды нашла строку «food» в файле.

findstr

findstr

Дополнительные примеры см. в документации Microsoft findstr.

50. Mstsc (50 базовых команд Windows с примерами)

Команда mstsc запускает сеанс удаленного рабочего стола на другом компьютере или позволяет редактировать конфигурационный файл .rdp.

Подключитесь к серверу, используя полноэкранный режим, я буду использовать 192.168.100.10 в этих примерах.

mstsc /f 192.168.100.10

Распределите rdp по нескольким мониторам.

mstsc /span 192.168.100.10

Есть ли команда для вывода списка всех команд Windows?

Вы можете набрать help, чтобы получить список системных команд по умолчанию.

help

help

К сожалению, здесь не перечислены команды, которые были установлены другими программами, например, инструментами RSAT. Полный список команд можно найти в документации по командам Microsoft Windows.

Как запустить командную строку от имени администратора?

Это очень важно, поскольку некоторые команды не будут выполняться, если командная строка не находится в режиме администратора.

Чтобы запустить командную строку от имени администратора, щелкните правой кнопкой мыши на «Командная строка» и выберите «Запуск от имени администратора«.

Запуск от имени администратора

Запуск от имени администратора

Итог 50 базовых команд Windows с примерами.

Все эти команды можно использовать в PowerShell или в старом (и мертвом) Windows CMD. Эти команды полезны независимо от того, на каком этапе ИТ-карьеры вы находитесь. Я использовал некоторые из этих команд с тех пор, как начал работать техником службы поддержки, и до сих пор использую их в качестве системного администратора/сетевого инженера.

Возможно вам так же будет интересно:

Как создать разделы диска в Linux?

Полезные горячие клавиши для Bash

Благодаря удобному интерфейсу операционной системы далеко не все знают о возможностях командной строки. Обычно используют командную строку в крайних ситуациях для исправления ошибок. Стоит разделять обычные команды и утилиты, работающие также в командной строке. Некоторые команды попали в общую таблицу, поскольку работать с ними можно только с командной строки.

Эта статья содержит полный список всех команд для командной строки (CMD) в Windows 10. Перед выполнением которых внимательно ознакомьтесь с их описанием и при необходимости параметрами, фильтрами и примерами использования. Утилиты же по своих возможностях похожи в сравнении с обычными командами, которые работают непосредственно в окне командной строки.

Для использования всех возможностей командной строки её необходимо запускать с правами администратора в Windows 10. Достаточно в поисковой строке начать вводить Командная строка, и в результатах поиска выбрать Запуск от имени администратора.

Непосредственно в окне командной строки можно посмотреть список всех команд выполнив команду: help. Для получения сведений об определённой команде наберите help <имя команды>.Как узнать список всех команд командной строки в Windows 10

Например, после выполнения команды: taskkill /? пользователю выводятся не только допустимые параметры, но и поддерживаемые фильтры и примеры использования.

Зачастую команды используются вместе с различными параметрами для уточнения. Если же используемая команда вызывает встроенную утилиту, тогда посмотреть данные командой help не получится. После выполнения команды: help ping указывается, что эта команда не поддерживается. Воспользуйтесь параметром ping /?.

assoc Вывод либо изменение сопоставлений по расширениям имён файлов attrib Отображение и изменение атрибутов файлов break Включение и выключение режима обработки комбинации клавиш Ctrl+C bcdedit Задаёт свойства в базе данных загрузки для управления начальной загрузкой cacls Отображение и редактирование списков управления доступом (ACL) к файлам call Вызов одного пакетного файла из другого cd Вывод имени либо смена текущей папки chcp Вывод либо установка активной кодовой страницы chdir Вывод имени либо смена текущей папки chkdsk Проверка диска и вывод статистики chkntfs Отображение или изменение выполнения проверки диска во время загрузки cls Очистка экрана cmd Запуск ещё одного интерпретатора командных строк color Установка цветов переднего плана и фона, используемых по умолчанию comp Сравнение содержимого двух файлов или двух наборов файлов compact Отображение и изменение сжатия файлов в разделах NTFS convert Преобразует тома FAT в NTFS copy Копирование одного или нескольких файлов в другое место date Вывод либо установка текущей даты del Удаление одного или нескольких файлов dir Вывод списка файлов и подпапок из указанной папки diskpart Отображает или настраивает свойства раздела диска doskey Редактирует командные строки, создаёт макросы и повторно вызывает команды Windows 10 dism Перечисляет, устанавливает, удаляет, настраивает и обновляет компоненты и пакеты в образах Windows 10 driverquery Отображает текущее состояние и свойства драйвера устройства echo Отображает сообщения и переключает режим отображения команд на экране endlocal Завершает локализацию изменений среды для пакетного файла erase Удаляет один или несколько файлов exit Завершает работу программы cmd.exe (интерпретатора командных строк) fc Сравнивает два файла или два набора файлов и
отображает различия между ними find Ищет текстовую строку в одном или нескольких файлах findstr Ищет выбранные строки в файлах for Запускает указанную команду для каждого из файлов в наборе format Форматирует диск для работы с Windows 10 fsutil Отображает или настраивает свойства файловой системы ftype Отображает либо изменяет типы файлов, используемые при сопоставлении по расширениям имён файлов goto Направляет интерпретатор команд Windows в отмеченную строку пакетной программы gpresult Отображает информацию о групповой политике для компьютера или пользователя graftabl Позволяет системе отображать расширенный набор символов в графическом режиме help Выводит справочную информацию о командах Window 10 icacls Отображает, изменяет, архивирует или восстанавливает списки ACL для файлов и каталогов if Выполняет условную обработку в пакетных программах ipconfig
Выводит данные обо всех сетевых подключениях label Создаёт, изменяет или удаляет метки тома для дисков md Создаёт каталог mkdir Создаёт каталог mklink Создаёт символьные ссылки и жёсткие связи mode Настраивает системные устройства more Последовательно отображает данные по частям размером в один экран move Перемещает один или несколько файлов из одного каталога в другой openfiles Отображает файлы, открытые для файлового ресурса удалёнными пользователями path Отображает или устанавливает путь поиска исполняемых файлов pause Приостанавливает выполнение пакетного файла и выводит сообщение ping Проверяет целостность сети и качество соединения в ней popd Восстанавливает предыдущее значение текущего каталога,
сохранённое с помощью команды PUSHD print Выводит на печать содержимое текстового файла prompt Изменяет командную строку Windows 10 pushd Сохраняет текущий каталог, затем изменяет его rd Удаляет каталог recover Восстанавливает данные, которые можно прочитать, с плохого или повреждённого диска rem Записывает комментарии в пакетные файлы или файл config.sys ren Переименовывает файлы rename Переименовывает файлы replace Заменяет файлы rmdir Удаляет каталог robocopy Улучшенная служебная программа копирования файлов и деревьев папок set Показывает, устанавливает или удаляет переменные среды Windows 10 setlocal Начинает локализацию изменений среды в пакетном файле sc Отображает или настраивает службы (фоновые процессы) schtasks Выполняет команды и запускает программы на компьютере по расписанию sfc Проверяет целостность всех защищённых системных файлов и заменяет неправильные версии правильными. shift Изменяет положение заменяемых параметров в пакетных файлах shutdown Позволяет локально или удалённо завершить работу компьютера sort Сортирует ввод start Выполняет указанную программу или команду в отдельном окне subst Связывает путь с именем диска systeminfo Отображает сведения о свойствах и конфигурации определённого компьютера tasklist Отображает все выполняемые задачи, включая службы taskkill Прекращение или остановка процесса либо приложения time Отображает или устанавливает системное время title Назначает заголовок окна для сеанса cmd.exe tracert
Отслеживает маршруты следования данных в сетях TCP/IP tree Графически отображает структуру каталогов диска или пути type Отображает содержимое текстовых файлов ver Отображает сведения о версии Windows 10 verify Устанавливает режим проверки в Windows 10 правильности записи файлов на диск vol Отображает метку и серийный номер тома для диска xcopy Копирует файлы и деревья папок wmic Отображает сведения об инструментарии WMI в интерактивной командной оболочке

Классическая командная строка позволяет также вызывать всё стандартные программы, которые расположены на системном диске. Например, после выполнения команды: dxdiag.exe мгновенно будет запущенно средство диагностики DirectX. В принципе непосредственно в командной строке можно вызывать все полезные Команды Выполнить в Windows 10.

Приложение командной строки хоть и получило альтернативу Windows PowerShell, но всё же ещё осталось в операционной системе. Его можно использовать, если Вы знакомы со списком команды для командной строки (CMD) в Windows 10. Достаточно запустить командную строку с правами администратора. А также ранее упоминалось как вернуть в контекстном меню командную строку.

Содержание

  • Команды для «Командной строки» в Виндовс 10
    • Запуск приложений и компонентов системы
    • Действия, управление и настройка
    • Настройка и использование оборудования
    • Работа с данными и накопителями
    • Сеть и интернет
  • Заключение
  • Вопросы и ответы

Команды для «Командной строки» в Windows 10

«Командная строка» или консоль — один из важнейших компонентов Windows, предоставляющий возможность быстрого и удобного управления функциями операционной системы, ее тонкой настройки и устранения множества проблем как с программной, так и с аппаратной составляющей. Но без знания команд, с помощью которых все это можно сделать, данный инструмент является бесполезным. Сегодня мы расскажем именно о них – различных командах и операторах, предназначенных для использования в консоли.

Так как команд для консоли существует огромное множество, мы рассмотрим лишь основные из них — те, которые рано или поздно могут прийти на помощь рядовому пользователю Windows 10, ведь именно на них и ориентирована эта статья. Но прежде чем приступить к изучению информации, рекомендуем вам ознакомиться с представленным по ссылке ниже материалом, в котором рассказывается обо всех возможных вариантах запуска консоли как с обычными, так и с административными правами.

Командная строка запущена от имени администратора на компьютере с ОС Windows 10

Читайте также:
Как открыть «Командную строку» в Виндовс 10
Запуск консоли от имени администратора в Windows 10

Запуск приложений и компонентов системы

Первым делом рассмотрим простые команды, с помощью которых можно быстро запускать стандартные программы и оснастки. Напомним, что после ввода любой из них нужно нажимать «ENTER».

Запуск раздела Программы и компоненты через командную строку Windows 10

Читайте также: Установка и удаление программ в Виндовс 10

appwiz.cpl – запуск средства «Программы и компоненты»

certmgr.msc – консоль управления сертификатами

control – «Панель управления»
Панель управления открыта через окно Выполнить в ОС Windows 10
control printers – «Принтеры и факсы»

control userpasswords2 – «Учетные записи пользователя»

compmgmt.msc – «Управление компьютером»

devmgmt.msc – «Диспетчер устройств»

dfrgui – «Оптимизация дисков»

Lumpics.ru

diskmgmt.msc — «Управление дисками»

dxdiag – средство диагностики DirectX

hdwwiz.cpl – еще одна команда для вызова «Диспетчера устройств»
Запуск Диспетчера устройств через Командную строку Windows 10
firewall.cpl – Бандмауэр Защитника Windows

gpedit.msc – «Редактор локальной групповой политики»

lusrmgr.msc — «Локальные пользователи и группы»

mblctr — «Центр мобильности» (по понятным причинам доступен только на ноутбуках)

mmc — консоль управления системными оснастками

msconfig – «Конфигурация системы»

odbcad32 — панель администрирования источника данных ODBC

perfmon.msc — «Системный монитор», предоставляющий возможность просмотра изменений в производительности компьютера и системы

presentationsettings — «Параметры режима презентации» (доступно только на ноутбуках)

powershell — PowerShell
Запуск PowerShell через Командую строку в Windows 10
powershell_ise — «Интегрированная среда сценариев» оболочки PowerShell

regedit — «Редактор реестра»

resmon — «Монитор ресурсов»

rsop.msc — «Результирующая политика»

shrpubw — «Мастер создания общих ресурсов»

secpol.msc — «Локальная политика безопасности»

services.msc — средство управления службами операционной системы

taskmgr — «Диспетчер задач»

taskschd.msc — «Планировщик заданий»
Планировщик заданий в Windows 10 запущен

Действия, управление и настройка

Здесь будут представлены команды для выполнения различных действий в среде операционной, а также управления и настройки входящих в ее состав компонентов.

computerdefaults — определение параметров программ по умолчанию

control admintools – переход к папке со средствами администрирования
Средства Администрирования запущены через Командную строку Windows 10
date – просмотр текущей даты с возможностью ее изменения

displayswitch – выбор экранов

dpiscaling – параметры дисплея

eventvwr.msc – просмотр журнала событий
Просмотр событий через командную строку Windows 10
fsmgmt.msc — средство работы с общими папками

fsquirt — отправка и прием файлов по Bluetooth

intl.cpl – региональные настройки

joy.cpl — настройка внешних игровых устройств (геймпадов, джойстиков и т.д.)
Настройка игровых устройств через Командную строку Windows 10
logoff — выход из системы

lpksetup — установка и удаление языков интерфейса

mobsync — «Центр синхронизации»

msdt — официальное средство диагностики службы поддержки Microsoft

msra — вызов «Удаленного помощника Windows» (может использоваться как для получения, так и для оказания помощи удаленно)

msinfo32 — просмотр сведений об операционной системе (отображает характеристики программных и аппаратных компонентов ПК)

mstsc — подключение к удаленному Рабочему столу

napclcfg.msc — настройка конфигурации операционной системы

netplwiz — панель управления «Учетными записями пользователей»

optionalfeatures — включение и отключение стандартных компонентов операционной системы
Включение и отключение стандартных компонентов через Командную строку Windows 10
shutdown – завершение работы

sigverif — средство проверки подлинности файлов

sndvol — «Микшер громкости»

slui — средство активации лицензии ОС Windows

sysdm.cpl — «Свойства системы»

systempropertiesperformance — «Параметры быстродействия»

systempropertiesdataexecutionprevention — запуск службы DEP, компонента «Параметров быстродействия» ОС

timedate.cpl — изменение даты и времени
Изменение даты и времени через командную строку в Windows 10
tpm.msc — «Управление доверенным платформенным модулем TPM на локальном компьютере»

useraccountcontrolsettings — «Параметры управления учетными записями пользователей»

utilman — управление «Специальными возможностями» в разделе «Параметров» операционной системы

wf.msc — активация режима повышенной безопасности в стандартном Брандмауэре ОС Windows

winver — просмотр общих (кратких) сведений об операционной системе и ее версии

WMIwscui.cpl — переход к Центру поддержки операционной системы

wscript — «Параметры сервера сценария» ОС Windows

wusa — «Автономный установщик обновлений Windows»

Автономный установщик обновлений операционной системы Windows 10

Настройка и использование оборудования

Есть ряд команд, предназначенных для вызова стандартных программ и элементов управления и предоставляющих возможность настройки оборудования, подключенного к компьютеру или ноутбуку либо интегрированного.

main.cpl — настройка мыши

mmsys.cpl — панель настройки звука (устройства ввода/вывода аудиосигнала)

printui — «Пользовательский интерфейс принтера»

printbrmui — средство переноса принтера, предоставляющее возможность экспорта и импорта программных компонентов и драйверов оборудования

printmanagement.msc — «Управление печатью»

sysedit — редактирование системных файлов с расширениями INI и SYS (Boot.ini, Config.sys, Win.ini и др.)

tabcal — средство калибровки дигитайзера

tabletpc.cpl — просмотр и настройка свойств планшета и пера

verifier — «Диспетчер проверки драйверов» (их цифровой подписи)

wfs — «Факсы и сканирование»

wmimgmt.msc — вызов «Элемента управления WMI» стандартной консоли
Элемент управления WMI стандартной консоли в ОС Windows 10

Работа с данными и накопителями

Ниже представим ряд команд, предназначенных для работы с файлами, папками, дисковыми устройствами и накопителями, как внутренними, так и внешними.

Примечание: Некоторые из представленных ниже команд работают только в контексте – внутри предварительно вызванных консольных утилит или с обозначенными файлами, папками. Для получения более подробных сведений по ним вы всегда можете обратиться к справке, воспользовавшись командой «help» без кавычек.

Справочная система Командной строки в ОС Windows 10

attrib – редактирование атрибутов предварительно обозначенного файла или папки

bcdboot – создание и/или восстановление системного раздела

cd – просмотр наименования текущей директории или переход в другую

chdir – просмотр папки или переход к другой

chkdsk — проверка жестких и твердотельных дисков, а также подключенных к ПК внешних накопителей

cleanmgr – инструмент «Очистка диска»

convert – преобразование файловой системы тома

copy – копирование файлов (с указанием конечного каталога)

del – удаление выбранных файлов

dir – просмотр файлов и папок по указанному пути

diskpart – консольная утилита для работы с дисками (открывается в отдельном окне «Командной строки», для просмотра поддерживаемых команд обратитесь к справке – help)
Справка по команде DISKPART в командной строке Windows 10
erase – удаление файлов

fc – сравнение файлов и поиск различий

format – форматирование накопителя

md – создание новой папки

mdsched — проверка оперативной памяти

migwiz — средство миграции (переноса данных)

move – перемещение файлов по заданному пути

ntmsmgr.msc — средство работы с внешними накопителями (флешками, картами памяти и т.д.)

recdisc — создание диска восстановления операционной системы (работает только с оптическими накопителями)

recover – восстановление данных

rekeywiz — инструмент для шифрования данных («Шифрующая файловая система (EFS)»)
Шифрующая файловая система вызванная через Командную строку Windows 10
RSoPrstrui — Настройка средства «Восстановление системы»

sdclt — «Резервное копирование и восстановление»

sfc /scannow — проверка целостности системных файлов с возможностью их восстановления

Читайте также: Форматирование флешки через «Командную строку»

Сеть и интернет

Напоследок ознакомим вас с несколькими простыми командами, предоставляющими возможность получения быстрого доступа к сетевым параметрам и настройке интернета.

control netconnections – просмотр и настройка доступных «Сетевых подключений»

inetcpl.cpl – переход к свойствам интернета

NAPncpa.cpl — аналог первой команды, предоставляющий возможность настройки сетевых подключений

telephon.cpl — настройка модемного подключения к интернету
Настройка модемного подключения к интернету через консоль в ОС Windows 10

Заключение

Мы ознакомили вас с довольно большим количеством команд для «Командной строки» в Windows 10, но по факту это лишь малая их часть. Запомнить все получится вряд ли, но этого и не требуется, тем более что при необходимости вы всегда можете обратиться к данному материалу или встроенной в консоль справочной системе. Кроме того, если у вас остались вопросы по рассмотренной нами теме, смело задавайте их в комментариях.

Командная строка по-прежнему является мощным инструментом Windows. Здесь представлены наиболее полезные команды CMD, которые необходимо знать каждому пользователю операционной системы Microsoft.

17 команд командной строки Windows (CMD), которые вы должны знать 1

1. Assoc

Большинство файлов в Windows ассоциируются с определенной программой, которая по умолчанию назначается для их открытия. Команда assoc отображает полный список расширений файлов и ассоциаций программ.

Вы также можете расширить команду, чтобы изменить ассоциации файлов. Например, assoc .txt= изменит ассоциацию файлов для текстовых файлов на программу, которую вы введете после знака равенства.

Screenshot of Windows command prompt with assoccommand.

2. Cipher

Удаление файлов на жестком диске на самом деле не приводит к их удалению. Вместо этого файлы помечаются как недоступные, а место, которое они занимали, — как свободное. Файлы можно восстановить, пока система не перезапишет их новыми данными, что может занять некоторое время.

Команда cipher затирает каталог, записывая в него случайные данные. Например, команда cipher /w:d очистит свободное пространство на диске C. Команда не перезаписывает обычные данные поэтому, выполнив эту команду, вы не сотрете нужные вам файлы.

Cipher command in the Windows command prompt.

3. Driverquery

Неправильно настроенные или отсутствующие драйверы могут привести к разного рода неприятностям, поэтому полезно иметь доступ к списку того, что установлено на вашем ПК. Именно это и делает команда driverquery. Вы можете расширить ее до driverquery -v, чтобы получить больше информации, включая каталог, в котором установлен драйвер.

Windows command prompt showing driverquery command.

4. File Compare

Вы можете использовать эту команду для выявления различий между двумя файлами. Она особенно полезна для писателей и программистов, пытающихся найти небольшие изменения между двумя версиями файла. Просто введите fc, а затем путь к каталогу и имена двух файлов, которые вы хотите сравнить.

Вы также можете расширить команду несколькими способами. При вводе /b сравнивается только двоичный вывод, /c не учитывает регистр текста при сравнении, а /l сравнивает только текст ASCII.

Пример команды:

fc /l "C:Program Files (x86)example1.doc" "C:Program Files (x86)example2.doc"

Приведенная выше команда сравнивает текст ASCII в двух документах word.

File compare command as seen in Windows command prompt.

5. Ipconfig

Эта команда передает IP-адрес, который в данный момент использует ваш компьютер. Однако если вы находитесь за маршрутизатором (как большинство современных компьютеров), вместо этого вы получите адрес локальной сети маршрутизатора.

Тем не менее, ipconfig полезен благодаря своим расширениям. ipconfig /release с последующим ipconfig /renew может заставить ваш компьютер Windows запросить новый IP-адрес, что полезно, если ваш компьютер утверждает, что такой адрес недоступен. Вы также можете использовать команду ipconfig /flushdns для обновления адреса DNS.

Ipconfig command in Windows command prompt window.

6. Netstat

Введя команду netstat -an, вы получите список открытых в настоящее время портов и соответствующих IP-адресов. Эта команда также сообщит вам, в каком состоянии находится порт: прослушивается, открыт или закрыт.

Это отличная команда для тех случаев, когда вы пытаетесь устранить неполадки в устройствах, подключенных к вашему ПК, или когда вы опасаетесь заражения системы трояном и пытаетесь обнаружить вредоносное соединение.

Netstat command run on Windows.

7. Ping

Иногда необходимо узнать, доходят ли пакеты до определенного сетевого устройства. Вот тут-то и пригодится ping.

Набрав ping и указав IP-адрес или домен сайта, вы отправите серию тестовых пакетов на указанный адрес. Если они приходят и возвращаются, вы знаете, что устройство способно взаимодействовать с вашим компьютером; если нет, вы знаете, что что-то блокирует связь между устройством и вашим компьютером. Это поможет вам определить, в чем причина проблемы — в неправильной конфигурации или в неисправности сетевого оборудования.

Ping command prompt window.

8. PathPing

Это более продвинутая версия ping, которая полезна, если между вашим ПК и тестируемым устройством находится несколько маршрутизаторов. Как и ping, вы используете эту команду, набрав pathping и указав IP-адрес, но в отличие от ping, pathping также передает некоторую информацию о маршруте, по которому идут тестовые пакеты.

Windows command prompt with PathPing command.

9. Tracert

Команда tracert аналогична команде pathping. Снова введите tracert, а затем IP-адрес или домен, который вы хотите отследить. Вы получите информацию о каждом этапе маршрута между вашим ПК и целью. Однако в отличие от pathping, tracert также отслеживает, сколько времени (в миллисекундах) занимает каждый переход между серверами или устройствами.

Screenshot of Tracert command in Windows command prompt.

10. Powercfg

Powercfg — это очень мощная команда для управления и отслеживания того, как ваш компьютер использует энергию. Вы можете использовать команды powercfg hibernate on и powercfg hibernate off для управления гибернацией, а также команду powercfg /a для просмотра состояний энергосбережения, доступных на вашем компьютере.

Powercfg command on Windows 10.

Еще одна полезная команда — powercfg /devicequery s1_supported, которая отображает список устройств на вашем компьютере, поддерживающих подключенный режим ожидания. Если эта функция включена, вы можете использовать эти устройства для вывода компьютера из режима ожидания, даже удаленно. Вы можете включить эту функцию, выбрав устройство в диспетчере устройств, открыв его свойства, перейдя на вкладку Управление питанием, а затем установив флажок Разрешить этому устройству будить компьютер.

Powercfg /lastwake покажет вам, какое устройство в последний раз пробудило ваш ПК из состояния сна. Вы можете использовать эту команду для поиска и устранения неисправностей, если компьютер пробуждается от сна случайным образом.

Powercfg energy command in Administrator command prompt on Windows 10.

Вы можете использовать команду powercfg /energy для построения подробного отчета об энергопотреблении вашего ПК. Отчет сохраняется в указанном каталоге после завершения команды. Этот отчет позволит вам узнать о любых неисправностях системы, которые могут увеличить энергопотребление, например, об устройствах, блокирующих определенные спящие режимы или плохо реагирующих на настройки управления питанием.

Команда powercfg /batteryreport предоставляет подробный анализ использования батареи, если применимо. Обычно отчет выводится в каталог пользователя Windows и содержит подробную информацию о времени и длительности циклов зарядки и разрядки, среднем сроке службы батареи и предполагаемой емкости батареи.

11. Shutdown

Это, конечно, излишне по сравнению с уже легко доступной кнопкой выключения, но что не излишне, так это команда shutdown /r /o, которая перезагружает компьютер и запускает меню дополнительных параметров запуска, где можно получить доступ к безопасному режиму и утилитам восстановления Windows. Это полезно, если вы хотите перезагрузить компьютер для устранения неполадок.

Shutdown command on Windows 10.

12. Systeminfo

Эта команда предоставит вам подробный обзор конфигурации вашего компьютера. Список охватывает вашу операционную систему и аппаратное обеспечение. Например, вы можете посмотреть дату установки Windows, время последней загрузки, версию BIOS, общую и доступную память, установленные исправления, конфигурацию сетевой карты и многое другое.

Используйте systeminfo /s с именем хоста компьютера в вашей локальной сети, чтобы удаленно получить информацию для этой системы. Это может потребовать дополнительных элементов синтаксиса для домена, имени пользователя и пароля, как показано ниже:

systeminfo /s [host_name] /u [domain][user_name] /p [user_password]
Systeminfo command as seen on Windows 10.

13. System File Checker

System File Checker — это инструмент автоматического сканирования и восстановления системных файлов Windows. Подробнее о нём читайте в отдельной статье.

Вам нужно запустить командную строку с правами администратора и ввести команду sfc /scannow. Если SFC обнаружит поврежденные или отсутствующие файлы, он автоматически заменит их, используя кэшированные копии, сохраненные Windows только для этой цели. На старых ноутбуках выполнение этой команды может занять полчаса.

System File Checker sfc command options available on Windows 10.

14. Tasklist

Вы можете использовать команду tasklist для получения списка всех задач, запущенных на вашем компьютере, в том числе скрытые от глаз.

Также существует широкий выбор модификаторов. Tasklist -svc показывает службы, связанные с каждой задачей, tasklist -v нужен для получения подробной информации о каждой задаче, а tasklist -m найдет файлы DLL, связанные с активными задачами. Эти команды полезны для расширенного поиска и устранения неисправностей.

Вы даже можете получить имя исполняемого файла, связанного с конкретным идентификатором процесса. Команда для этой операции — tasklist | find [process id].

Tasklist command as shown in Windows command prompt window.

15. Taskkill

Вы можете принудительно остановить программу, используя taskkill -im, за которым следует имя исполняемого файла, или taskkill -pid, за которым следует идентификатор процесса. Опять же, это немного избыточно по сравнению с диспетчером задач, но вы можете использовать его для уничтожения неотвечающих или скрытых программ.

Taskkill command options available on Windows 10.

16. Chkdsk

Если вы подозреваете, что ваш жесткий диск вышел из строя, вы можете вручную инициировать сканирование. Самой простой командой является chkdsk c:, которая немедленно просканирует диск C: без необходимости перезагрузки компьютера. Если добавить параметры /f, /r, /x или /b, например chkdsk /f /r /x /b c:, chkdsk также исправит ошибки, восстановит данные, отключит диск или очистит список плохих секторов соответственно. Эти действия требуют перезагрузки, поскольку они могут выполняться только при выключенной Windows.

Running a chkdsk command to initiate a scan on Windows 10.

17. schtasks

Schtasks — это доступ командной строки к планировщику задач, одному из многих недооцененных административных инструментов Windows. Хотя вы можете использовать графический интерфейс для управления запланированными задачами, командная строка позволяет вам копировать и вставлять сложные команды для установки нескольких похожих задач без необходимости щелкать по различным параметрам. В конечном счете, им гораздо проще пользоваться, как только вы запомните основные параметры.

Scheduling tasks using the Windows schtasks command prompt command.

Например, вы можете запланировать перезагрузку компьютера на 11 часов вечера каждую пятницу:

schtasks /create /sc weekly /d FRI /tn "auto reboot computer weekly" /st 23:00 /tr "shutdown -r -f -t 10"

В дополнение к еженедельной перезагрузке вы можете запланировать задания на запуск определенных программ при запуске:

schtasks /create /sc onstart /tn "launch Chrome on startup" /tr "C:Program Files (x86)GoogleChromeApplicationChrome.exe"

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


Спасибо, что читаете! На данный момент большинство моих заметок, статей и подборок выходит в telegram канале «Левашов». Обязательно подписывайтесь, чтобы не пропустить новости мира ИТ, полезные инструкции и нужные сервисы.


Респект за пост! Спасибо за работу!

Хотите больше постов в блоге? Подборок софта и сервисов, а также обзоры на гаджеты? Сейчас, чтобы писать регулярно и радовать вас большими обзорами, мне требуется помощь. Чтобы поддерживать сайт на регулярной основе, вы можете оформить подписку на российском сервисе Boosty. Или воспользоваться ЮMoney (бывшие Яндекс Деньги) для разовой поддержки:


Заранее спасибо! Все собранные средства будут пущены на развитие сайта. Поддержка проекта является подарком владельцу сайта.

Command Description Append The append command can be used by programs to open files in another directory as if they were located in the current directory. The append command is available in MS-DOS as well as in all 32-bit versions of Windows. The append command is not available in 64-bit versions of Windows. Arp The arp command is used to display or change entries in the ARP cache. The arp command is available in all versions of Windows. Assoc The assoc command is used to display or change the file type associated with a particular file extension. The assoc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. At The at command is used to schedule commands and other programs to run at a specific date and time. The at command is available in Windows 7, Windows Vista, and Windows XP. Beginning in Windows 8, command line task scheduling should instead be completed with the schtasks command. Atmadm The atmadm command is used to display information related to asynchronous transfer mode (ATM) connections on the system. The atmadm command is available in Windows XP. Support for ATM was removed beginning in Windows Vista, making the atmadm command unnecessary. Attrib The attrib command is used to change the attributes of a single file or a directory. The attrib command is available in all versions of Windows, as well as in MS-DOS. Auditpol The auditpol command is used to display or change audit policies. The auditpol command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Bcdboot The bcdboot command is used to copy boot files to the system partition and to create a new system BCD store. The bcdboot command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Bcdedit The bcdedit command is used to view or make changes to Boot Configuration Data. The bcdedit command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The bcdedit command replaced the bootcfg command beginning in Windows Vista. Bdehdcfg The bdehdcfg command is used to prepare a hard drive for BitLocker Drive Encryption. The bdehdcfg command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Bitsadmin The bitsadmin command is used to create, manage, and monitor download and upload jobs. The bitsadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. While the bitsadmin command is available in those versions of Windows, it is being phased out—the BITS PowerShell cmdlets should be used instead. Bootcfg The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located. The bootcfg command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The bootcfg command was replaced by the bcdedit command beginning in Windows Vista. Bootcfg is still available in Windows 10, 8, 7, and Vista, but it serves no real value since boot.ini is not used in these operating systems. Bootsect The bootsect command is used to configure the master boot code to one compatible with BOOTMGR (Vista and later) or NTLDR (XP and earlier). The bootsect command is available in Windows 11, Windows 10, and Windows 8. The bootsect command is also available in Windows 7 and Windows Vista but only from the Command Prompt available in System Recovery Options. Break The break command sets or clears extended CTRL+C checking on DOS systems. The break command is available in all versions of Windows, as well as in MS-DOS. The break command is available in Windows XP and later versions of Windows to provide compatibility with MS-DOS files but it has no effect in Windows itself. Cacls The cacls command is used to display or change access control lists of files. The cacls command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The cacls command is being phased out in favor of the icacls command, which should be used instead in all versions of Windows after Windows XP. Call The call command is used to run a script or batch program from within another script or batch program. The call command is available in all versions of Windows, as well as in MS-DOS. The call command has no effect outside of a script or batch file. In other words, running the call command at the Command Prompt or MS-DOS prompt will do nothing. Cd The cd command is the shorthand version of the chdir command. The cd command is available in all versions of Windows, as well as in MS-DOS. Certreq The certreq command is used to perform various certification authority (CA) certificate functions. The certreq command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Certutil The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions. The certutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Change The change command changes various terminal server settings like install modes, COM port mappings, and logons. The change command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Chcp The chcp command displays or configures the active code page number. The chcp command is available in all versions of Windows, as well as in MS-DOS. Chdir The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in. The chdir command is available in all versions of Windows, as well as in MS-DOS. Checknetisolation The checknetisolation command is used to test apps that require network capabilities. The checknetisolation command is available in Windows 11, Windows 10, and Windows 8. Chglogon The chglogon command enables, disables, or drains terminal server session logins. The chglogon command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chglogon command is the same as executing change logon. Chgport The chgport command can be used to display or change COM port mappings for DOS compatibility. The chgport command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chgport command is the same as executing change port. Chgusr The chgusr command is used to change the install mode for the terminal server. The chgusr command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chgusr command is the same as executing change user. Chkdsk The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors. The chkdsk command is available in all versions of Windows, as well as in MS-DOS. Chkntfs The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process. The chkntfs command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Choice The choice command is used within a script or batch program to provide a list of choices and return the value of that choice to the program. The choice command is available in MS-DOS and all versions of Windows except Windows XP. Use the set command with the /p switch in place of the choice command in batch files and scripts that you plan to use in Windows XP. Cipher The cipher command shows or changes the encryption status of files and folders on NTFS partitions. The cipher command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Clip The clip command is used to redirect the output from any command to the clipboard in Windows. The clip command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Cls The cls command clears the screen of all previously entered commands and other text. The cls command is available in all versions of Windows, as well as in MS-DOS. Cmd The cmd command starts a new instance of the cmd.exe command interpreter. The cmd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Cmdkey The cmdkey command is used to show, create, and remove stored user names and passwords. The cmdkey command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Cmstp The cmstp command installs or uninstalls a Connection Manager service profile. The cmstp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Color The color command is used to change the colors of the text and background within the Command Prompt window. The color command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Command The command command starts a new instance of the command.com command interpreter. The command command is available in MS-DOS as well as in all 32-bit versions of Windows. The command command is not available in 64-bit versions of Windows. Comp The comp command is used to compare the contents of two files or sets of files. The comp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Compact The compact command is used to show or change the compression state of files and directories on NTFS partitions. The compact command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Convert The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format. The convert command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Copy The copy command does simply that — it copies one or more files from one location to another. The copy command is available in all versions of Windows, as well as in MS-DOS. The xcopy command is considered to be a more «powerful» version of the copy command. Cscript The cscript command is used to execute scripts via Microsoft Script Host. The cscript command is available in all versions of Windows. The cscript command is most popularly used to manage printers from the command line using scripts like prncnfg.vbs, prndrvr.vbs, prnmngr.vbs, and others. Ctty The ctty command is used to change the default input and output devices for the system. The ctty command is available in Windows 98 and 95 as well as in MS-DOS. The functions provided by the ctty command were no longer necessary beginning in Windows XP because the command.com interpreter (MS-DOS) is no longer the default command line interpreter. Date The date command is used to show or change the current date. The date command is available in all versions of Windows, as well as in MS-DOS. Dblspace The dblspace command is used to create or configure DoubleSpace compressed drives. The dblspace command is available in Windows 98 and 95, as well as in MS-DOS. DriveSpace, executed using the drvspace command, is an updated version of DoubleSpace. Windows began handling compression beginning in Windows XP. Debug The debug command starts Debug, a command line application used to test and edit programs. The debug command is available in MS-DOS as well as in all 32-bit versions of Windows. The debug command is not available in 64-bit versions of Windows. Defrag The defrag command is used to defragment a drive you specify. The defrag command is the command line version of Microsoft’s Disk Defragmenter. The defrag command is available in all versions of Windows, as well as in MS-DOS. Del The del command is used to delete one or more files. The del command is available in all versions of Windows, as well as in MS-DOS. The del command is the same as the erase command. Deltree The deltree command is used to delete a directory and all the files and subdirectories within it. The deltree command is available in Windows 98 and 95, as well as in MS-DOS. Beginning in Windows XP, a folder and its files and subfolders can be removed using the /s function of the rmdir command. Deltree was no longer needed with this new rmdir ability so the command was removed. Diantz The diantz command is used to losslessly compress one or more files. The diantz command is sometimes called Cabinet Maker. The diantz command is available in Windows 7, Windows Vista, and Windows XP. The diantz command is the same as the makecab command. Dir The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive’s serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more. The dir command is available in all versions of Windows, as well as in MS-DOS. Diskcomp The diskcomp command is used to compare the contents of two floppy disks. The diskcomp command is available in all versions of Windows, as well as in MS-DOS, with the exclusion of Windows 11 and Windows 10. Diskcopy The diskcopy command is used to copy the entire contents of one floppy disk to another. The diskcopy command is available in all versions of Windows, as well as in MS-DOS, with the exclusion of Windows 11 and Windows 10. Diskpart The diskpart command is used to create, manage, and delete hard drive partitions. The diskpart command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The diskpart command replaced the fdisk command beginning in Windows XP. Diskperf The diskperf command is used to manage disk performance counters remotely. The diskperf command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Diskraid The diskraid command starts the DiskRAID tool which is used to manage and configure RAID arrays. The diskraid command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Dism The dism command starts the Deployment Image Servicing and Management tool (DISM). The DISM tool is used to manage features in Windows images. The dism command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Dispdiag The dispdiag command is used to output a log of information about the display system. The dispdiag command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Djoin The djoin command is used to create a new computer account in a domain. The djoin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Doskey The doskey command is used to edit command lines, create macros, and recall previously entered commands. The doskey command is available in all versions of Windows, as well as in MS-DOS. Dosshell The dosshell command starts DOS Shell, a graphical file management tool for MS-DOS. The dosshell command is available in Windows 95 (in MS-DOS mode) and also in MS-DOS version 6.0 and later MS-DOS versions that were upgraded from previous versions that contained the dosshell command. A graphical file manager, Windows Explorer, became an integrated part of the operating system beginning in Windows 95. Dosx The dosx command is used to start DOS Protected Mode Interface (DPMI), a special mode designed to give MS-DOS applications access to more than the normally allowed 640 KB. The dosx command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The dosx command is not available in 64-bit versions of Windows. The dosx command and DPMI is only available in Windows to support older MS-DOS programs. Driverquery The driverquery command is used to show a list of all installed drivers. The driverquery command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Drvspace The drvspace command is used to create or configure DriveSpace compressed drives. The drvspace command is available in Windows 98 and 95, as well as in MS-DOS. DriveSpace is an updated version of DoubleSpace, executed using the dblspace command. Windows began handling compression beginning in Windows XP. Echo The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off. The echo command is available in all versions of Windows, as well as in MS-DOS. Edit The edit command starts the MS-DOS Editor tool which is used to create and modify text files. The edit command is available in MS-DOS as well as in all 32-bit versions of Windows. The edit command is not available in 64-bit versions of Windows. Edlin The edlin command starts the Edlin tool which is used to create and modify text files from the command line. The edlin command is available in all 32-bit versions of Windows but is not available in 64-bit versions of Windows. In MS-DOS, the edlin command is only available up to MS-DOS 5.0, so unless your later version of MS-DOS was upgraded from 5.0 or prior, you won’t see the edlin command. Emm386 The emm386 command is used to give MS-DOS access to more than 640 KB of memory (RAM). The emm386 command is available in Windows 98 and 95, as well as in MS-DOS. Windows itself has access to extended and expanded memory beginning in Windows 95. Endlocal The endlocal command is used to end the localization of environment changes inside a batch or script file. The endlocal command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Erase The erase command is used to delete one or more files. The erase command is available in all versions of Windows, as well as in MS-DOS. The erase command is the same as the del command. Esentutl The esentutl command is used to manage Extensible Storage Engine databases. The esentutl command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Eventcreate The eventcreate command is used to create a custom event in an event log. The eventcreate command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Eventtriggers The eventtriggers command is used to configure and display event triggers. The eventtriggers command is available in Windows XP. Beginning in Windows Vista, event triggers are created using the Attach Task To This Event feature in Event Viewer, making the eventtriggers command unnecessary. Exe2bin The exe2bin command is used to convert a file of the EXE file type (executable file) to a binary file. The exe2bin command is available in 32-bit versions of Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The exe2bin command is not available in any 64-bit version of Windows. Exit The exit command is used to end the cmd.exe (Windows) or command.com (MS-DOS) session that you’re currently working in. The exit command is available in all versions of Windows, as well as in MS-DOS. Expand The expand command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The expand command is available in MS-DOS as well as in all versions of Windows. The expand command is not available in the 64-bit version of Windows XP. Extrac32 The extrac32 command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The extrac32 command is available in all versions of Windows. The extrac32 command is actually a CAB extraction program for use by Internet Explorer but can be used to extract any Microsoft Cabinet file. Use the expand command instead of the extrac32 command if possible. Extract The extract command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The extract command is available in Windows 98 and 95. The extract command was replaced by the expand command beginning in Windows XP. Fasthelp The fasthelp command provides more detailed information on any of the other MS-DOS commands. The fasthelp command is only available in MS-DOS. The help command replaced the fasthelp command beginning in Windows 95. Fastopen The fastopen command is used to add a program’s hard drive location to a special list stored in memory, potentially improving the program’s launch time by removing the need for MS-DOS to locate the application on the drive. The fastopen command is available in MS-DOS as well as in all 32-bit versions of Windows. The fastopen command is not available in 64-bit versions of Windows. Fastopen is only available in Windows 10, Windows 8, 7, Vista, and XP to support older MS-DOS files. Fc The fc command is used to compare two individual or sets of files and then show the differences between them. The fc command is available in all versions of Windows, as well as in MS-DOS. Fdisk The fdisk command is used to create, manage, and delete hard drive partitions. The fdisk command is available in Windows 98 and 95, as well as in MS-DOS. The fdisk command was replaced by the diskpart command beginning in Windows XP. Partition management is also available from Disk Management in Windows 11, 10, 8, 7, Vista, and XP. Find The find command is used to search for a specified text string in one or more files. The find command is available in all versions of Windows, as well as in MS-DOS. Findstr The findstr command is used to find text string patterns in one or more files. The findstr command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Finger The finger command is used to return information about one or more users on a remote computer that’s running the Finger service. The finger command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Fltmc The fltmc command is used to load, unload, list, and otherwise manage Filter drivers. The fltmc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Fondue The fondue command, short for Features on Demand User Experience Tool, is used to install any of the several optional Windows features from the command line. The fondue command is available in Windows 11, Windows 10, and Windows 8. Optional Windows features can also be installed from the Programs and Features applet in Control Panel. For The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file. The for command is available in all versions of Windows, as well as in MS-DOS. Forcedos The forcedos command is used to start the specified program in the MS-DOS subsystem. The forcedos command is only available in 32-bit versions of Windows XP. The forcedos command is only used for MS-DOS programs that are not recognized as such by Windows XP. Forfiles The forfiles command selects one or more files to execute a specified command on. The forfiles command is most often used within a batch or script file. The forfiles command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Format The format command is used to format a drive in the file system that you specify. The format command is available in all versions of Windows, as well as in MS-DOS. Drive formatting is also available from Disk Management in Windows 11, 10, 8, 7, Vista, and XP. Fsutil The fsutil command is used to perform various FAT and NTFS file system tasks like managing reparse points and sparse files, dismounting a volume, and extending a volume. The fsutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Ftp The ftp command can be used to transfer files to and from another computer. The remote computer must be operating as an FTP server. The ftp command is available in all versions of Windows. Ftype The ftype command is used to define a default program to open a specified file type. The ftype command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Getmac The getmac command is used to display the media access control (MAC) address of all the network controllers on a system. The getmac command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Goto The goto command is used in a batch or script file to direct the command process to a labeled line in the script. The goto command is available in all versions of Windows, as well as in MS-DOS. Gpresult The gpresult command is used to display Group Policy settings. The gpresult command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Gpupdate The gpupdate command is used to update Group Policy settings. The gpupdate command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Graftabl The graftabl command is used to enable the ability of Windows to display an extended character set in graphics mode. The graftabl command is available in all versions of Windows and in MS-DOS up to version 5.0. The graftabl command is not available in 64-bit versions of Windows. Graphics The graphics command is used to load a program that can print graphics. The graphics command is available in MS-DOS as well as in all 32-bit versions of Windows. The graphics command is not available in 64-bit versions of Windows. Help The help command provides more detailed information on any of the other Command Prompt or MS-DOS commands. The help command is available in all versions of Windows, as well as in MS-DOS. Hostname The hostname command displays the name of the current host. The hostname command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Hwrcomp The hwrcomp command is used to compile custom dictionaries for handwriting recognition. The hwrcomp command is available in Windows 8 and Windows 7. Hwrreg The hwrreg command is used to install a previously compiled custom dictionary for handwriting recognition. The hwrreg command is available in Windows 8 and Windows 7. Icacls The icacls command is used to display or change access control lists of files. The icacls command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The icacls command is an updated version of the cacls command. If The if command is used to perform conditional functions in a batch file. The if command is available in all versions of Windows, as well as in MS-DOS. Interlnk The interlnk command is used to connect two computers via a serial or parallel connection to share files and printers. The interlnk command is only available in MS-DOS. The ability to directly connect two computers is handled by the networking functions in all versions of Windows. Intersvr The intersvr command is used to start the Interlnk server and to copy Interlnk files from one computer to another. The intersvr command is only available in MS-DOS. The ability to directly connect two computers is handled by the networking functions in all versions of Windows. Ipconfig The ipconfig command is used to display detailed IP information for each network adapter utilizing TCP/IP. The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server. The ipconfig command is available in all versions of Windows. Ipxroute The ipxroute command is used to display and change information about IPX routing tables. The ipxroute command is available in Windows XP. Microsoft removed their built-in NetWare client beginning in Windows Vista, removing the associated ipxroute command as well. Irftp The irftp command is used to transmit files over an infrared link. The irftp command is available in Windows 8, Windows 7, and Windows Vista. Iscsicli The iscsicli command starts the Microsoft iSCSI Initiator, used to manage iSCSI. The iscsicli command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Kb16 The kb16 command is used to support MS-DOS files that need to configure a keyboard for a specific language. The kb16 command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The kb16 command is not available in 64-bit versions of Windows. The kb16 command replaced the keyb command beginning in Windows XP but only exists to support older MS-DOS files. Keyb The keyb command is used to configure a keyboard for a specific language. The keyb command is available in Windows 98 and 95, as well as in MS-DOS. See the kb16 command for an equivalent command in later versions of Windows. Keyboard language settings are handled by the Region and Language or Regional and Language Options (depending on the version of Windows) Control Panel applets in Windows beginning in Windows XP. Klist The klist command is used to list Kerberos service tickets. The klist command can also be used to purge Kerberos tickets. The klist command is available in Windows 11, Windows 10, Windows 8 and Windows 7. Ksetup The ksetup command is used to configure connections to a Kerberos server. The ksetup command is available in Windows 11, Windows 10, Windows 8 and Windows 7. Ktmutil The ktmutil command starts the Kernel Transaction Manager utility. The ktmutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Label The label command is used to manage the volume label of a disk. The label command is available in all versions of Windows, as well as in MS-DOS. Lh The lh command is the shorthand version of the loadhigh command. The lh command is available in Windows 98 and 95, as well as in MS-DOS. Licensingdiag The licensingdiag command is a tool used to generate a text-based log and other data files that contain product activation and other Windows licensing information. The licensingdiag command is available in Windows 11, Windows 10, and Windows 8. Loadfix The loadfix command is used to load the specified program in the first 64K of memory and then runs the program. The loadfix command is available in MS-DOS as well as in all 32-bit versions of Windows. The loadfix command is not available in 64-bit versions of Windows. Loadhigh The loadhigh command is used to load a program into high memory and is usually used from within the autoexec.bat file. The loadhigh command is available in Windows 98 and 95, as well as in MS-DOS. Memory usage is handled automatically beginning in Windows XP. Lock The lock command is used to lock a drive, enabling direct disk access for a program. The lock command is only available in Windows 98 and 95. Drive locking is no longer available as of Windows XP. Lodctr The lodctr command is used to update registry values related to performance counters. The lodctr command is available in all versions of Windows. Logman The logman command is used to create and manage Event Trace Session and Performance logs. The logman command also supports many functions of Performance Monitor. The logman command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Logoff The logoff command is used to terminate a session. The logoff command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Lpq The lpq command displays the status of a print queue on a computer running Line Printer Daemon (LPD). The lpq command is available in all versions of Windows. The lpq command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel. Lpr The lpr command is used to send a file to a computer running Line Printer Daemon (LPD). The lpr command is available in all versions of Windows. The lpr command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel. Makecab The makecab command is used to losslessly compress one or more files. The makecab command is sometimes called Cabinet Maker. The makecab command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The makecab command is the same as the diantz command, a command that was removed after Windows 7. Manage-bde The manage-bde command is used to configure BitLocker Drive Encryption from the command line. The manage-bde command is available in Windows 11, Windows 10, Windows 8, and Windows 7. A script by the name of manage-bde.wsf exists in Windows Vista and can be used with the cscript command to perform BitLocker tasks from the command line in that operating system. Md The md command is the shorthand version of the mkdir command. The md command is available in all versions of Windows, as well as in MS-DOS. Mem The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem. The mem command is available in MS-DOS as well as in all 32-bit versions of Windows. The mem command is not available in 64-bit versions of Windows. Memmaker The memmaker command is used to start MemMaker, a memory optimization tool. The memaker command is available in Windows 98 and 95, as well as in MS-DOS. Memory usage is automatically optimized beginning in Windows XP. Mkdir The mkdir command is used to create a new folder. The mkdir command is available in all versions of Windows, as well as in MS-DOS. Mklink The mklink command is used to create a symbolic link. The mklink command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Mode The mode command is used to configure system devices, most often COM and LPT ports. The mode command is available in all versions of Windows, as well as in MS-DOS. Mofcomp The mofcomp command properly displays the data within a Managed Object Format (MOF) file. The mofcomp command is available in all versions of Windows. More The more command is used to display the information contained in a text file. The more command can also be used to paginate the results of any other Command Prompt or MS-DOS command. The more command is available in all versions of Windows, as well as in MS-DOS. Mount The mount command is used to mount Network File System (NFS) network shares. The mount command is available in Windows 7 and Windows Vista. The mount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The mount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Mountvol The mountvol command is used to display, create, or remove volume mount points. The mountvol command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Move The move command is used to move one or files from one folder to another. The move command is also used to rename directories. The move command is available in all versions of Windows, as well as in MS-DOS. Mrinfo The mrinfo command is used to provide information about a router’s interfaces and neighbors. The mrinfo command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Msav The msav command starts Microsoft Antivirus. The msav command is only available in MS-DOS. Microsoft Antivirus was designed for MS-DOS and Windows 3.x only. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third party antivirus tools are available for all versions of Windows. Msbackup The msbackup command starts Microsoft Backup, a tool used to back up and restore one or more files. The msbackup command is only available in MS-DOS. The msbackup command was replaced with Microsoft Backup beginning in Windows 95 and then Backup and Restore in later versions of Windows. Mscdex The mscdex command is used to provide CD-ROM access to MS-DOS. The mscdex command is available in Windows 98 and 95, as well as in MS-DOS. Windows provides access to CD-ROM drives for the MS-DOS subsystem beginning in Windows XP, so the mscdex command is unnecessary in this and later operating systems. Msd The msd command starts Microsoft Diagnostics, a system information tool. The msd command is only available in MS-DOS. The msd command was replaced with System Information beginning in Windows 95. Msg The msg command is used to send a message to a user. The msg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Msiexec The msiexec command is used to start Windows Installer, a tool used to install and configure software. The msiexec command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Muiunattend The muiunattend command starts the Multilanguage User Interface unattended setup process. The muiunattend command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Nbtstat The nbtstat command is used to show TCP/IP information and other statistical information about a remote computer. The nbtstat command is available in all versions of Windows. Net The net command is used to display, configure, and correct a wide variety of network settings. The net command is available in all versions of Windows. Net1 The net1 command is used to display, configure, and correct a wide variety of network settings. The net1 command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The net command should be used instead of the net1 command. The net1 command was made available in Windows NT and Windows 2000 as a temporary fix for a Y2K issue that the net command had, which was corrected before the release of Windows XP. The net1 command remains in later versions of Windows only for compatibility with older programs and scripts that utilized the command. Netcfg The netcfg command is used to install the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations. The netcfg command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Netsh The netsh command is used to start Network Shell, a command-line utility used to manage the network configuration of the local, or a remote, computer. The netsh command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Netstat The netstat command is most commonly used to display all open network connections and listening ports. The netstat command is available in all versions of Windows. Nfsadmin The nfsadmin command is used to manage Server for NFS or Client for NFS from the command line. The nfsadmin command is available in Windows 7 and Windows Vista. The nfsadmin command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The nfsadmin command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Nlsfunc The nlsfunc command is used to load information specific to a particular country or region. The nlsfunc command is available in MS-DOS as well as in all 32-bit versions of Windows. The nlsfunc command is not available in 64-bit versions of Windows. Nlsfunc is only available in Windows 10, 8, 7, Vista, and XP to support older MS-DOS files. Nltest The nltest command is used to test secure channels between Windows computers in a domain and between domain controllers that are trusting other domains. The nltest command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Nslookup The nslookup is most commonly used to display the hostname of an entered IP address. The nslookup command queries your configured DNS server to discover the IP address. The nslookup command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Ntbackup The ntbackup command is used to perform various backup functions from the Command Prompt or from within a batch or script file. The ntbackup command is available in Windows XP. The ntbackup command was replaced with the wbadmin beginning in Windows Vista. Ntsd The ntsd command is used to perform certain command line debugging tasks. The ntsd command is available in Windows XP. The ntsd command was removed beginning in Windows Vista due to the addition of dump file support in Task Manager. Ocsetup The ocsetup command starts the Windows Optional Component Setup tool, used to install additional Windows features. The ocsetup command is available in Windows 8, Windows 7, and Windows Vista. Beginning in Windows 8, Microsoft is depreciating the ocsetup command in favor of the dism command. Openfiles The openfiles command is used to display and disconnect open files and folders on a system. The openfiles command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Path The path command is used to display or set a specific path available to executable files. The path command is available in all versions of Windows, as well as in MS-DOS. Pathping The pathping command functions much like the tracert command but will also report information about network latency and loss at each hop. The pathping command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Pause The pause command is used within a batch or script file to pause the processing of the file. When the pause command is used, a «Press any key to continue…» message displays in the command window. The pause command is available in all versions of Windows, as well as in MS-DOS. Pentnt The pentnt command is used to detect floating point division errors in the Intel Pentium chip. The pentnt command is also used to enable floating point emulation and disable floating point hardware. The pentnt command is available in Windows XP. The pentnt command was removed beginning in Windows Vista due to the lack of Intel Pentium CPU use at the time of this operating system release. Ping The ping command sends an Internet Control Message Protocol (ICMP) Echo Request message to a specified remote computer to verify IP-level connectivity. The ping command is available in all versions of Windows. Pkgmgr The pkgmgr command is used to start the Windows Package Manager from the Command Prompt. Package Manager installs, uninstalls, configures, and updates features and packages for Windows. The pkgmgr command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Pnpunattend The pnpunattend command is used to automate the installation of hardware device drivers. The pnpunattend command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Pnputil The pnputil command is used to start the Microsoft PnP Utility, a tool used to install a Plug and Play device from the command line. The pnputil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Popd The popd command is used to change the current directory to the one most recently stored by the pushd command. The popd command is most often utilized from within a batch or script file. The popd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Power The power command is used to reduce the power consumed by a computer by monitoring software and hardware devices. The power command is available in Windows 98 and 95, as well as in MS-DOS. The power command was replaced by operating system integrated power management functions beginning in Windows XP. Powercfg The powercfg command is used to manage the Windows power management settings from the command line. The powercfg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Print The print command is used to print a specified text file to a specified printing device. The print command is available in all versions of Windows, as well as in MS-DOS. Prompt The prompt command is used to customize the appearance of the prompt text in Command Prompt or MS-DOS. The prompt command is available in all versions of Windows, as well as in MS-DOS. Pushd The pushd command is used to store a directory for use, most commonly from within a batch or script program. The pushd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Pwlauncher The pwlauncher command is used to enable, disable, or show the status of your Windows To Go startup options. The pwlauncher command is available in Windows 11, 10, and 8. Qappsrv The qappsrv command is used to display all Remote Desktop Session Host servers available on the network. The qappsrv command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Qbasic The qbasic command starts QBasic, the MS-DOS based programming environment for the BASIC programming language. The qbasic command is available in Windows 98 and 95, as well as in MS-DOS. The qbasic command is not installed by default with Windows 98 or 95 but is available from the installation disc or disks. Qprocess The qprocess command is used to display information about running processes. The qprocess command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Query The query command is used to display the status of a specified service. The query command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Quser The quser command is used to display information about users currently logged on to the system. The quser command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Qwinsta The qwinsta command is used to display information about open Remote Desktop Sessions. The qwinsta command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rasautou The rasautou command is used to manage Remote Access Dialer AutoDial addresses. The rasautou command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rasdial The rasdial command is used to start or end a network connection for a Microsoft client. The rasdial command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rcp The rcp command is used to copy files between a Windows computer and a system running the rshd daemon. The rcp command is available in Windows 7, Windows Vista, and Windows XP. The rcp command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here for Windows Vista and here for Windows 7. The rcp command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rd The rd command is the shorthand version of the rmdir command. The rd command is available in all versions of Windows, as well as in MS-DOS. Rdpsign The rdpsign command is used to sign a Remote Desktop Protocol (RDP) file. The rdpsign command is available in Windows 7. Reagentc The reagentc command is used to configure the Windows Recovery Environment (RE). The reagentc command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Recimg The recimg command is used to create a custom refresh image. The recimg command is available in Windows 8. Recover The recover command is used to recover readable data from a bad or defective disk. The recover command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Reg The reg command is used to manage the Windows Registry from the command line. The reg command can perform common registry functions like adding registry keys, exporting the registry, etc. The reg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Regini The regini command is used to set or change registry permissions and registry values from the command line. The regini command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Register-cimprovider The register-cimprovider command is used to register a Common Information Model (CIM) Provider in Windows. The register-cimprovider command is available in Windows 11, Windows 10, and Windows 8. Regsvr32 The regsvr32 command is used to register a DLL file as a command component in the Windows Registry. The regsvr32 command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Relog The relog command is used to create new performance logs from data in existing performance logs. The relog command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rem The rem command is used to record comments or remarks in a batch or script file. The rem command is available in all versions of Windows, as well as in MS-DOS. Ren The ren command is the shorthand version of the rename command. The ren command is available in all versions of Windows, as well as in MS-DOS. Rename The rename command is used to change the name of the individual file that you specify. The rename command is available in all versions of Windows, as well as in MS-DOS. Repair-bde The repair-bde command is used to repair or decrypt a damaged drive that’s been encrypted using BitLocker. The repair-bde command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Replace The replace command is used to replace one or more files with one or more other files. The replace command is available in all versions of Windows, as well as in MS-DOS. Reset The reset command, executed as reset session, is used to reset the session subsystem software and hardware to known initial values. The reset command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Restore The restore command is used to restore files that were backed up using the backup command. The restore command is only available in MS-DOS. The backup command was only available up to MS-DOS 5.00 but the restore command was included by default with later versions of MS-DOS to provide a way to restore files that were backed up in previous versions of MS-DOS. Rexec The rexec command is used to run commands on remote computers running the rexec daemon. The rexec command is available in Windows Vista and Windows XP. The rsh command is not available by default in Windows Vista but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here. The rexec command is not available in Windows 7 but can be executed in Windows XP via Windows XP Mode if need be. Rmdir The rmdir command is used to delete an existing or completely empty folder. The rmdir command is available in all versions of Windows, as well as in MS-DOS. Robocopy The robocopy command is used to copy files and directories from one location to another. This command is also called Robust File Copy. The robocopy command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The robocopy command is superior to both the copy command and the xcopy command because robocopy supports many more options. Route The route command is used to manipulate network routing tables. The route command is available in all versions of Windows. Rpcinfo The rpcinfo command makes a remote procedure call (RPC) to an RPC server and reports what it finds. The rpcinfo command is available in Windows 7 and Windows Vista. The rpcinfo command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The rpcinfo command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rpcping The rpcping command is used to ping a server using RPC. The rpcping command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Rsh The rsh command is used to run commands on remote computers running the rsh daemon. The rsh command is available in Windows 7, Windows Vista, and Windows XP. The rsh command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here for Windows Vista and here for Windows 7. The rsh command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rsm The rsm command is used to manage media resources using Removable Storage. The rsm command is available in Windows Vista and Windows XP. The rsm command was optional in Windows Vista and then removed in Windows 7 due to Removable Storage Manager being removed from the operating system. Search for the rsm command in the C:Windowswinsxs folder in Windows Vista if you’re having trouble executing the command. Runas The runas command is used to execute a program using another user’s credentials. The runas command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rwinsta The rwinsta command is the shorthand version of the reset session command. The rwinsta command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Sc The sc command is used to configure information about services. The sc command communicates with the Service Control Manager. The sc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Scandisk The scandisk command is used to start Microsoft ScanDisk, a disk repair program. The scandisk command is available in Windows 98 and 95, as well as in MS-DOS. The scandisk command was replaced by the chkdsk command beginning in Windows XP. Scanreg The scanreg command starts Windows Registry Checker, a basic registry repair program and backup utility. The scanreg command is available in Windows 98 and Windows 95. The functions provided by the scanreg command were no longer necessary beginning in Windows XP due to changes in how the Windows Registry functions. Schtasks The schtasks command is used to schedule specified programs or commands to run at certain times. The schtasks command can be used to create, delete, query, change, run, and end scheduled tasks. The schtasks command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.​ Sdbinst The sdbinst command is used to deploy customized SDB database files. The sdbinst command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Secedit The secedit command is used to configure and analyze system security by comparing the current security configuration to a template. The secedit command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Set The set command is used to display, enable, or disable environment variables in MS-DOS or from the Command Prompt. The set command is available in all versions of Windows, as well as in MS-DOS. Setlocal The setlocal command is used to start the localization of environment changes inside a batch or script file. The setlocal command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Setspn The setspn command is used to manage the Service Principal Names (SPN) for an Active Directory (AD) service account. The setspn command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Setver The setver command is used to set the MS-DOS version number that MS-DOS reports to a program. The setver command is available in MS-DOS as well as in all 32-bit versions of Windows. The setver command is not available in 64-bit versions of Windows. Setx The setx command is used to create or change environment variables in the user environment or the system environment. The setx command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Sfc The sfc command is used to verify and replace important Windows system files. The sfc command is also referred to as System File Checker or Windows Resource Checker, depending on the operating system. The sfc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Shadow The shadow command is used to monitor another Remote Desktop Services session. The shadow command is available in Windows 7, Windows Vista, and Windows XP. Share The share command is used to install file locking and file sharing functions in MS-DOS. The share command is available in MS-DOS as well as in all 32-bit versions of Windows. The share command is not available in 64-bit versions of Windows. Share is only available in Windows 10, 8, 7, Vista, and XP to support older MS-DOS files. Shift The shift command is used to change the position of replaceable parameters in a batch or script file. The shift command is available in all versions of Windows, as well as in MS-DOS. Showmount The showmount command is used to display information about NFS mounted file systems. The showmount command is available in Windows 7 and Windows Vista. The showmount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The showmount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Shutdown The shutdown command can be used to shut down, restart, or log off the current system or a remote computer. The shutdown command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Smartdrv The smartdrv command installs and configures SMARTDrive, a disk caching utility for MS-DOS. The smartdrv command is available in Windows 98 and 95, as well as in MS-DOS. Caching is automatic beginning in Windows XP, making the smartdrv command unnecessary. Sort The sort command is used to read data from a specified input, sort that data, and return the results of that sort to the Command Prompt screen, a file, or another output device. The sort command is available in all versions of Windows, as well as in MS-DOS. Start The start command is used to open a new command line window to run a specified program or command. The start command can also be used to start an application without creating a new window. The start command is available in all versions of Windows. Subst The subst command is used to associate a local path with a drive letter. The subst command is a lot like the net use command except a local path is used instead of a shared network path. The subst command is available in all versions of Windows, as well as in MS-DOS. The subst command replaced the assign command beginning with MS-DOS 6.0. Sxstrace The sxstrace command is used to start the WinSxs Tracing Utility, a programming diagnostic tool. The sxstrace command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Sys The sys command is used to copy the MS-DOS system files and command interpreter to a disk. The sys command is available in Windows 98 and 95, as well as in MS-DOS. The sys command is used most often to create a simple bootable disk or hard drive. The necessary system files for Windows are too large to fit on a disk, so the sys command was removed beginning in Windows XP. Systeminfo The systeminfo command is used to display basic Windows configuration information for the local or a remote computer. The systeminfo command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Takeown The takedown command is used to regain access to a file that that an administrator was denied access to when reassigning ownership of the file. The takeown command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Taskkill The taskkill command is used to terminate a running task. The taskkill command is the command line equivalent of ending a process in Task Manager in Windows. The taskkill command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tasklist Displays a list of applications, services, and the Process ID (PID) currently running on either a local or a remote computer. The tasklist command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tcmsetup The tcmsetup command is used to set up or disable the Telephony Application Programming Interface (TAPI) client. The tcmsetup command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Telnet The telnet command is used to communicate with remote computers that use the Telnet protocol. The telnet command is available in all versions of Windows. The telnet command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the Telnet Client Windows feature from Programs and Features in Control Panel. Tftp The tftp command is used to transfer files to and from a remote computer that’s running the Trivial File Transfer Protocol (TFTP) service or daemon. The tftp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The tftp command is not available by default in some versions of Windows, but can be enabled by turning on the TFTP Client Windows feature from Programs and Features in Control Panel. Time The time command is used to show or change the current time. The time command is available in all versions of Windows, as well as in MS-DOS. Timeout The timeout command is typically used in a batch or script file to provide a specified timeout value during a procedure. The timeout command can also be used to ignore keypresses. The timeout command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Title The title command is used to set the Command Prompt window title. The title command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tlntadmn The tlntadmn command is used to administer a local or remote computer running Telnet Server. The tlntadmn command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The tlntadmn command is not available by default in some versions of Windows, but can be enabled by turning on the Telnet Server Windows feature from Programs and Features in Control Panel. Tpmvscmgr The tpmvscmgr command is used to create and destroy TPM virtual smart cards. The tpmvscmgr command is available in Windows 11, Windows 10, and Windows 8. Tracerpt The tracerpt command is used to process event trace logs or real-time data from instrumented event trace providers. The tracerpt command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tracert The tracert command sends Internet Control Message Protocol (ICMP) Echo Request messages to a specified remote computer with increasing Time to Live (TTL) field values and displays the IP address and hostname, if available, of the router interfaces between the source and destination. The tracert command is available in all versions of Windows. Tree The tree command is used to graphically display the folder structure of a specified drive or path. The tree command is available in all versions of Windows, as well as in MS-DOS. Tscon The tscon command is used to attach a user session to a Remote Desktop session. The tscon command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tsdiscon The tsdiscon command is used to disconnect a Remote Desktop session. The tsdiscon command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tskill The tskill command is used to end the specified process. The tskill command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tsshutdn The tsshutdn command is used to remotely shut down or restart a terminal server. The tsshutdn command is available in Windows XP. The ability to shut down a computer remotely is also available in the more powerful shutdown command, so tsshutdn was removed beginning in Windows Vista. Type The type command is used to display the information contained in a text file. The type command is available in all versions of Windows, as well as in MS-DOS. Typeperf The typerperf command displays performance data in the Command Prompt window or writes the data to specified log file. The typeperf command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tzutil The tzutil command is used to display or configure the current system’s time zone. The tzutil command can also be used to enable or disable Daylight Saving Time adjustments. The tzutil command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Umount The umount command is used to remove Network File System (NFS) mounted network shares. The umount command is available in Windows 7 and Windows Vista. The umount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The umount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Undelete The undelete command is used to undo a deletion performed with the MS-DOS delete command. The undelete command is only available in MS-DOS. The undelete command was removed beginning in Windows 95 due to the availability of the Recycle Bin in Windows. Additionally, free file recovery programs are available from third-party software makers. Unformat The unformat command is used to undo the formatting on a drive performed by the MS-DOS format command. The unformat command is only available in MS-DOS. The unformat command was removed beginning in Windows 95 due to file system changes. Unlock The unlock command is used to unlock a drive, disabling direct disk access for a program. The unlock command is only available in Windows 98 and 95. Drive locking is no longer available as of Windows XP. Unlodctr The unlodctr command removes Explain text and Performance counter names for a service or device driver from the Windows Registry. The unlodctr command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Vaultcmd The vaultcmd command is used to create, remove, and show stored credentials. The vaultcmd command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Ver The ver command is used to display the current Windows or MS-DOS version number. The ver command is available in all versions of Windows, as well as in MS-DOS. Verify The verify command is used to enable or disable the ability of Command Prompt, or MS-DOS, to verify that files are written correctly to a disk. The verify command is available in all versions of Windows, as well as in MS-DOS. Vol The vol command shows the volume label and serial number of a specified disk, assuming this information exists. The vol command is available in all versions of Windows, as well as in MS-DOS. Vsafe The vsafe command is used to start VSafe, a basic virus protection system for MS-DOS. The vsafe command is only available in MS-DOS. VSafe was designed for MS-DOS and Windows 3.x only. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third-party antivirus tools are available for all versions of Windows. Vssadmin The vssadmin command starts the Volume Shadow Copy Service administrative command line tool which displays current volume shadow copy backups and all installed shadow copy writers and providers. The vssadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. W32tm The w32tm command is used to diagnose issues with Windows Time. The w32tm command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Waitfor The waitfor command is used to send or wait for a signal on a system. The waitfor command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wbadmin The wbadmin command is used to start and stop backup jobs, display details about a previous backup, list the items within a backup, and report on the status of a currently running backup. The wbadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The wbadmin command replaced the ntbackup command beginning in Windows Vista. Wecutil The wecutil command is used to manage subscriptions to events that are forwarded from WS-Management supported computers. The wecutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wevtutil The wevtutil command starts the Windows Events Command Line Utility which is used to manage event logs and publishers. The wevtutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Where The where command is used to search for files that match a specified pattern. The where command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Whoami The whoami command is used to retrieve user name and group information on a network. The whoami command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winmgmt The winmgmt command starts the command line version of WMI, a scripting tool in Windows. The winmgmt command is available in all versions of Windows. Winrm The winrm command is used to start the command line version of Windows Remote Management, used to manage secure communications with local and remote computers using web services. The winrm command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winrs The winrs command is used to open a secure command window with a remote host. The winrs command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winsat The winsat command starts the Windows System Assessment Tool, a program that assesses various features, attributes, and capabilities of a computer running Windows. The winsat command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wmic The wmic command starts the Windows Management Instrumentation Command line (WMIC), a scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed via WMI. The wmic command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Wsmanhttpconfig The wsmanhttpconfig command is used to manage aspects of the Windows Remote Management (WinRM) service. The wsmanhttpconfig command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Xcopy The xcopy command can copy one or more files or directory trees from one location to another. The xcopy command is generally considered a more «powerful» version of the copy command through the robocopy command trumps even xcopy. The xcopy command is available in all versions of Windows, as well as in MS-DOS. A command by the name of xcopy32 existed in Windows 95 and Windows 98. To avoid a long and confusing explanation here, just know that no matter if you executed the xcopy command or the xcopy32 command, you were always executing the most updated version of the command. Xwizard The xwizard command, short for Extensible Wizard, is used to register data in Windows, often from a preconfigured XML file. The xwizard command is available in Windows 11, Windows 10, Windows 8, and Windows 7.
Command Description Append The append command can be used by programs to open files in another directory as if they were located in the current directory. The append command is available in MS-DOS as well as in all 32-bit versions of Windows. The append command is not available in 64-bit versions of Windows. Arp The arp command is used to display or change entries in the ARP cache. The arp command is available in all versions of Windows. Assoc The assoc command is used to display or change the file type associated with a particular file extension. The assoc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. At The at command is used to schedule commands and other programs to run at a specific date and time. The at command is available in Windows 7, Windows Vista, and Windows XP. Beginning in Windows 8, command line task scheduling should instead be completed with the schtasks command. Atmadm The atmadm command is used to display information related to asynchronous transfer mode (ATM) connections on the system. The atmadm command is available in Windows XP. Support for ATM was removed beginning in Windows Vista, making the atmadm command unnecessary. Attrib The attrib command is used to change the attributes of a single file or a directory. The attrib command is available in all versions of Windows, as well as in MS-DOS. Auditpol The auditpol command is used to display or change audit policies. The auditpol command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Bcdboot The bcdboot command is used to copy boot files to the system partition and to create a new system BCD store. The bcdboot command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Bcdedit The bcdedit command is used to view or make changes to Boot Configuration Data. The bcdedit command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The bcdedit command replaced the bootcfg command beginning in Windows Vista. Bdehdcfg The bdehdcfg command is used to prepare a hard drive for BitLocker Drive Encryption. The bdehdcfg command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Bitsadmin The bitsadmin command is used to create, manage, and monitor download and upload jobs. The bitsadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. While the bitsadmin command is available in those versions of Windows, it is being phased out—the BITS PowerShell cmdlets should be used instead. Bootcfg The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located. The bootcfg command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The bootcfg command was replaced by the bcdedit command beginning in Windows Vista. Bootcfg is still available in Windows 10, 8, 7, and Vista, but it serves no real value since boot.ini is not used in these operating systems. Bootsect The bootsect command is used to configure the master boot code to one compatible with BOOTMGR (Vista and later) or NTLDR (XP and earlier). The bootsect command is available in Windows 11, Windows 10, and Windows 8. The bootsect command is also available in Windows 7 and Windows Vista but only from the Command Prompt available in System Recovery Options. Break The break command sets or clears extended CTRL+C checking on DOS systems. The break command is available in all versions of Windows, as well as in MS-DOS. The break command is available in Windows XP and later versions of Windows to provide compatibility with MS-DOS files but it has no effect in Windows itself. Cacls The cacls command is used to display or change access control lists of files. The cacls command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The cacls command is being phased out in favor of the icacls command, which should be used instead in all versions of Windows after Windows XP. Call The call command is used to run a script or batch program from within another script or batch program. The call command is available in all versions of Windows, as well as in MS-DOS. The call command has no effect outside of a script or batch file. In other words, running the call command at the Command Prompt or MS-DOS prompt will do nothing. Cd The cd command is the shorthand version of the chdir command. The cd command is available in all versions of Windows, as well as in MS-DOS. Certreq The certreq command is used to perform various certification authority (CA) certificate functions. The certreq command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Certutil The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions. The certutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Change The change command changes various terminal server settings like install modes, COM port mappings, and logons. The change command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Chcp The chcp command displays or configures the active code page number. The chcp command is available in all versions of Windows, as well as in MS-DOS. Chdir The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in. The chdir command is available in all versions of Windows, as well as in MS-DOS. Checknetisolation The checknetisolation command is used to test apps that require network capabilities. The checknetisolation command is available in Windows 11, Windows 10, and Windows 8. Chglogon The chglogon command enables, disables, or drains terminal server session logins. The chglogon command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chglogon command is the same as executing change logon. Chgport The chgport command can be used to display or change COM port mappings for DOS compatibility. The chgport command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chgport command is the same as executing change port. Chgusr The chgusr command is used to change the install mode for the terminal server. The chgusr command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Executing the chgusr command is the same as executing change user. Chkdsk The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors. The chkdsk command is available in all versions of Windows, as well as in MS-DOS. Chkntfs The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process. The chkntfs command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Choice The choice command is used within a script or batch program to provide a list of choices and return the value of that choice to the program. The choice command is available in MS-DOS and all versions of Windows except Windows XP. Use the set command with the /p switch in place of the choice command in batch files and scripts that you plan to use in Windows XP. Cipher The cipher command shows or changes the encryption status of files and folders on NTFS partitions. The cipher command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Clip The clip command is used to redirect the output from any command to the clipboard in Windows. The clip command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Cls The cls command clears the screen of all previously entered commands and other text. The cls command is available in all versions of Windows, as well as in MS-DOS. Cmd The cmd command starts a new instance of the cmd.exe command interpreter. The cmd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Cmdkey The cmdkey command is used to show, create, and remove stored user names and passwords. The cmdkey command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Cmstp The cmstp command installs or uninstalls a Connection Manager service profile. The cmstp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Color The color command is used to change the colors of the text and background within the Command Prompt window. The color command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Command The command command starts a new instance of the command.com command interpreter. The command command is available in MS-DOS as well as in all 32-bit versions of Windows. The command command is not available in 64-bit versions of Windows. Comp The comp command is used to compare the contents of two files or sets of files. The comp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Compact The compact command is used to show or change the compression state of files and directories on NTFS partitions. The compact command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Convert The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format. The convert command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Copy The copy command does simply that — it copies one or more files from one location to another. The copy command is available in all versions of Windows, as well as in MS-DOS. The xcopy command is considered to be a more «powerful» version of the copy command. Cscript The cscript command is used to execute scripts via Microsoft Script Host. The cscript command is available in all versions of Windows. The cscript command is most popularly used to manage printers from the command line using scripts like prncnfg.vbs, prndrvr.vbs, prnmngr.vbs, and others. Ctty The ctty command is used to change the default input and output devices for the system. The ctty command is available in Windows 98 and 95 as well as in MS-DOS. The functions provided by the ctty command were no longer necessary beginning in Windows XP because the command.com interpreter (MS-DOS) is no longer the default command line interpreter. Date The date command is used to show or change the current date. The date command is available in all versions of Windows, as well as in MS-DOS. Dblspace The dblspace command is used to create or configure DoubleSpace compressed drives. The dblspace command is available in Windows 98 and 95, as well as in MS-DOS. DriveSpace, executed using the drvspace command, is an updated version of DoubleSpace. Windows began handling compression beginning in Windows XP. Debug The debug command starts Debug, a command line application used to test and edit programs. The debug command is available in MS-DOS as well as in all 32-bit versions of Windows. The debug command is not available in 64-bit versions of Windows. Defrag The defrag command is used to defragment a drive you specify. The defrag command is the command line version of Microsoft’s Disk Defragmenter. The defrag command is available in all versions of Windows, as well as in MS-DOS. Del The del command is used to delete one or more files. The del command is available in all versions of Windows, as well as in MS-DOS. The del command is the same as the erase command. Deltree The deltree command is used to delete a directory and all the files and subdirectories within it. The deltree command is available in Windows 98 and 95, as well as in MS-DOS. Beginning in Windows XP, a folder and its files and subfolders can be removed using the /s function of the rmdir command. Deltree was no longer needed with this new rmdir ability so the command was removed. Diantz The diantz command is used to losslessly compress one or more files. The diantz command is sometimes called Cabinet Maker. The diantz command is available in Windows 7, Windows Vista, and Windows XP. The diantz command is the same as the makecab command. Dir The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive’s serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more. The dir command is available in all versions of Windows, as well as in MS-DOS. Diskcomp The diskcomp command is used to compare the contents of two floppy disks. The diskcomp command is available in all versions of Windows, as well as in MS-DOS, with the exclusion of Windows 11 and Windows 10. Diskcopy The diskcopy command is used to copy the entire contents of one floppy disk to another. The diskcopy command is available in all versions of Windows, as well as in MS-DOS, with the exclusion of Windows 11 and Windows 10. Diskpart The diskpart command is used to create, manage, and delete hard drive partitions. The diskpart command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The diskpart command replaced the fdisk command beginning in Windows XP. Diskperf The diskperf command is used to manage disk performance counters remotely. The diskperf command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Diskraid The diskraid command starts the DiskRAID tool which is used to manage and configure RAID arrays. The diskraid command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Dism The dism command starts the Deployment Image Servicing and Management tool (DISM). The DISM tool is used to manage features in Windows images. The dism command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Dispdiag The dispdiag command is used to output a log of information about the display system. The dispdiag command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Djoin The djoin command is used to create a new computer account in a domain. The djoin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Doskey The doskey command is used to edit command lines, create macros, and recall previously entered commands. The doskey command is available in all versions of Windows, as well as in MS-DOS. Dosshell The dosshell command starts DOS Shell, a graphical file management tool for MS-DOS. The dosshell command is available in Windows 95 (in MS-DOS mode) and also in MS-DOS version 6.0 and later MS-DOS versions that were upgraded from previous versions that contained the dosshell command. A graphical file manager, Windows Explorer, became an integrated part of the operating system beginning in Windows 95. Dosx The dosx command is used to start DOS Protected Mode Interface (DPMI), a special mode designed to give MS-DOS applications access to more than the normally allowed 640 KB. The dosx command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The dosx command is not available in 64-bit versions of Windows. The dosx command and DPMI is only available in Windows to support older MS-DOS programs. Driverquery The driverquery command is used to show a list of all installed drivers. The driverquery command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Drvspace The drvspace command is used to create or configure DriveSpace compressed drives. The drvspace command is available in Windows 98 and 95, as well as in MS-DOS. DriveSpace is an updated version of DoubleSpace, executed using the dblspace command. Windows began handling compression beginning in Windows XP. Echo The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off. The echo command is available in all versions of Windows, as well as in MS-DOS. Edit The edit command starts the MS-DOS Editor tool which is used to create and modify text files. The edit command is available in MS-DOS as well as in all 32-bit versions of Windows. The edit command is not available in 64-bit versions of Windows. Edlin The edlin command starts the Edlin tool which is used to create and modify text files from the command line. The edlin command is available in all 32-bit versions of Windows but is not available in 64-bit versions of Windows. In MS-DOS, the edlin command is only available up to MS-DOS 5.0, so unless your later version of MS-DOS was upgraded from 5.0 or prior, you won’t see the edlin command. Emm386 The emm386 command is used to give MS-DOS access to more than 640 KB of memory (RAM). The emm386 command is available in Windows 98 and 95, as well as in MS-DOS. Windows itself has access to extended and expanded memory beginning in Windows 95. Endlocal The endlocal command is used to end the localization of environment changes inside a batch or script file. The endlocal command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Erase The erase command is used to delete one or more files. The erase command is available in all versions of Windows, as well as in MS-DOS. The erase command is the same as the del command. Esentutl The esentutl command is used to manage Extensible Storage Engine databases. The esentutl command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Eventcreate The eventcreate command is used to create a custom event in an event log. The eventcreate command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Eventtriggers The eventtriggers command is used to configure and display event triggers. The eventtriggers command is available in Windows XP. Beginning in Windows Vista, event triggers are created using the Attach Task To This Event feature in Event Viewer, making the eventtriggers command unnecessary. Exe2bin The exe2bin command is used to convert a file of the EXE file type (executable file) to a binary file. The exe2bin command is available in 32-bit versions of Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The exe2bin command is not available in any 64-bit version of Windows. Exit The exit command is used to end the cmd.exe (Windows) or command.com (MS-DOS) session that you’re currently working in. The exit command is available in all versions of Windows, as well as in MS-DOS. Expand The expand command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The expand command is available in MS-DOS as well as in all versions of Windows. The expand command is not available in the 64-bit version of Windows XP. Extrac32 The extrac32 command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The extrac32 command is available in all versions of Windows. The extrac32 command is actually a CAB extraction program for use by Internet Explorer but can be used to extract any Microsoft Cabinet file. Use the expand command instead of the extrac32 command if possible. Extract The extract command is used to extract the files and folders contained in Microsoft Cabinet (CAB) files. The extract command is available in Windows 98 and 95. The extract command was replaced by the expand command beginning in Windows XP. Fasthelp The fasthelp command provides more detailed information on any of the other MS-DOS commands. The fasthelp command is only available in MS-DOS. The help command replaced the fasthelp command beginning in Windows 95. Fastopen The fastopen command is used to add a program’s hard drive location to a special list stored in memory, potentially improving the program’s launch time by removing the need for MS-DOS to locate the application on the drive. The fastopen command is available in MS-DOS as well as in all 32-bit versions of Windows. The fastopen command is not available in 64-bit versions of Windows. Fastopen is only available in Windows 10, Windows 8, 7, Vista, and XP to support older MS-DOS files. Fc The fc command is used to compare two individual or sets of files and then show the differences between them. The fc command is available in all versions of Windows, as well as in MS-DOS. Fdisk The fdisk command is used to create, manage, and delete hard drive partitions. The fdisk command is available in Windows 98 and 95, as well as in MS-DOS. The fdisk command was replaced by the diskpart command beginning in Windows XP. Partition management is also available from Disk Management in Windows 11, 10, 8, 7, Vista, and XP. Find The find command is used to search for a specified text string in one or more files. The find command is available in all versions of Windows, as well as in MS-DOS. Findstr The findstr command is used to find text string patterns in one or more files. The findstr command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Finger The finger command is used to return information about one or more users on a remote computer that’s running the Finger service. The finger command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Fltmc The fltmc command is used to load, unload, list, and otherwise manage Filter drivers. The fltmc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Fondue The fondue command, short for Features on Demand User Experience Tool, is used to install any of the several optional Windows features from the command line. The fondue command is available in Windows 11, Windows 10, and Windows 8. Optional Windows features can also be installed from the Programs and Features applet in Control Panel. For The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file. The for command is available in all versions of Windows, as well as in MS-DOS. Forcedos The forcedos command is used to start the specified program in the MS-DOS subsystem. The forcedos command is only available in 32-bit versions of Windows XP. The forcedos command is only used for MS-DOS programs that are not recognized as such by Windows XP. Forfiles The forfiles command selects one or more files to execute a specified command on. The forfiles command is most often used within a batch or script file. The forfiles command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Format The format command is used to format a drive in the file system that you specify. The format command is available in all versions of Windows, as well as in MS-DOS. Drive formatting is also available from Disk Management in Windows 11, 10, 8, 7, Vista, and XP. Fsutil The fsutil command is used to perform various FAT and NTFS file system tasks like managing reparse points and sparse files, dismounting a volume, and extending a volume. The fsutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Ftp The ftp command can be used to transfer files to and from another computer. The remote computer must be operating as an FTP server. The ftp command is available in all versions of Windows. Ftype The ftype command is used to define a default program to open a specified file type. The ftype command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Getmac The getmac command is used to display the media access control (MAC) address of all the network controllers on a system. The getmac command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Goto The goto command is used in a batch or script file to direct the command process to a labeled line in the script. The goto command is available in all versions of Windows, as well as in MS-DOS. Gpresult The gpresult command is used to display Group Policy settings. The gpresult command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Gpupdate The gpupdate command is used to update Group Policy settings. The gpupdate command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Graftabl The graftabl command is used to enable the ability of Windows to display an extended character set in graphics mode. The graftabl command is available in all versions of Windows and in MS-DOS up to version 5.0. The graftabl command is not available in 64-bit versions of Windows. Graphics The graphics command is used to load a program that can print graphics. The graphics command is available in MS-DOS as well as in all 32-bit versions of Windows. The graphics command is not available in 64-bit versions of Windows. Help The help command provides more detailed information on any of the other Command Prompt or MS-DOS commands. The help command is available in all versions of Windows, as well as in MS-DOS. Hostname The hostname command displays the name of the current host. The hostname command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Hwrcomp The hwrcomp command is used to compile custom dictionaries for handwriting recognition. The hwrcomp command is available in Windows 8 and Windows 7. Hwrreg The hwrreg command is used to install a previously compiled custom dictionary for handwriting recognition. The hwrreg command is available in Windows 8 and Windows 7. Icacls The icacls command is used to display or change access control lists of files. The icacls command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The icacls command is an updated version of the cacls command. If The if command is used to perform conditional functions in a batch file. The if command is available in all versions of Windows, as well as in MS-DOS. Interlnk The interlnk command is used to connect two computers via a serial or parallel connection to share files and printers. The interlnk command is only available in MS-DOS. The ability to directly connect two computers is handled by the networking functions in all versions of Windows. Intersvr The intersvr command is used to start the Interlnk server and to copy Interlnk files from one computer to another. The intersvr command is only available in MS-DOS. The ability to directly connect two computers is handled by the networking functions in all versions of Windows. Ipconfig The ipconfig command is used to display detailed IP information for each network adapter utilizing TCP/IP. The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server. The ipconfig command is available in all versions of Windows. Ipxroute The ipxroute command is used to display and change information about IPX routing tables. The ipxroute command is available in Windows XP. Microsoft removed their built-in NetWare client beginning in Windows Vista, removing the associated ipxroute command as well. Irftp The irftp command is used to transmit files over an infrared link. The irftp command is available in Windows 8, Windows 7, and Windows Vista. Iscsicli The iscsicli command starts the Microsoft iSCSI Initiator, used to manage iSCSI. The iscsicli command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Kb16 The kb16 command is used to support MS-DOS files that need to configure a keyboard for a specific language. The kb16 command is available in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The kb16 command is not available in 64-bit versions of Windows. The kb16 command replaced the keyb command beginning in Windows XP but only exists to support older MS-DOS files. Keyb The keyb command is used to configure a keyboard for a specific language. The keyb command is available in Windows 98 and 95, as well as in MS-DOS. See the kb16 command for an equivalent command in later versions of Windows. Keyboard language settings are handled by the Region and Language or Regional and Language Options (depending on the version of Windows) Control Panel applets in Windows beginning in Windows XP. Klist The klist command is used to list Kerberos service tickets. The klist command can also be used to purge Kerberos tickets. The klist command is available in Windows 11, Windows 10, Windows 8 and Windows 7. Ksetup The ksetup command is used to configure connections to a Kerberos server. The ksetup command is available in Windows 11, Windows 10, Windows 8 and Windows 7. Ktmutil The ktmutil command starts the Kernel Transaction Manager utility. The ktmutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Label The label command is used to manage the volume label of a disk. The label command is available in all versions of Windows, as well as in MS-DOS. Lh The lh command is the shorthand version of the loadhigh command. The lh command is available in Windows 98 and 95, as well as in MS-DOS. Licensingdiag The licensingdiag command is a tool used to generate a text-based log and other data files that contain product activation and other Windows licensing information. The licensingdiag command is available in Windows 11, Windows 10, and Windows 8. Loadfix The loadfix command is used to load the specified program in the first 64K of memory and then runs the program. The loadfix command is available in MS-DOS as well as in all 32-bit versions of Windows. The loadfix command is not available in 64-bit versions of Windows. Loadhigh The loadhigh command is used to load a program into high memory and is usually used from within the autoexec.bat file. The loadhigh command is available in Windows 98 and 95, as well as in MS-DOS. Memory usage is handled automatically beginning in Windows XP. Lock The lock command is used to lock a drive, enabling direct disk access for a program. The lock command is only available in Windows 98 and 95. Drive locking is no longer available as of Windows XP. Lodctr The lodctr command is used to update registry values related to performance counters. The lodctr command is available in all versions of Windows. Logman The logman command is used to create and manage Event Trace Session and Performance logs. The logman command also supports many functions of Performance Monitor. The logman command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Logoff The logoff command is used to terminate a session. The logoff command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Lpq The lpq command displays the status of a print queue on a computer running Line Printer Daemon (LPD). The lpq command is available in all versions of Windows. The lpq command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel. Lpr The lpr command is used to send a file to a computer running Line Printer Daemon (LPD). The lpr command is available in all versions of Windows. The lpr command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the LPD Print Service and LPR Port Monitor features from Programs and Features in Control Panel. Makecab The makecab command is used to losslessly compress one or more files. The makecab command is sometimes called Cabinet Maker. The makecab command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The makecab command is the same as the diantz command, a command that was removed after Windows 7. Manage-bde The manage-bde command is used to configure BitLocker Drive Encryption from the command line. The manage-bde command is available in Windows 11, Windows 10, Windows 8, and Windows 7. A script by the name of manage-bde.wsf exists in Windows Vista and can be used with the cscript command to perform BitLocker tasks from the command line in that operating system. Md The md command is the shorthand version of the mkdir command. The md command is available in all versions of Windows, as well as in MS-DOS. Mem The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem. The mem command is available in MS-DOS as well as in all 32-bit versions of Windows. The mem command is not available in 64-bit versions of Windows. Memmaker The memmaker command is used to start MemMaker, a memory optimization tool. The memaker command is available in Windows 98 and 95, as well as in MS-DOS. Memory usage is automatically optimized beginning in Windows XP. Mkdir The mkdir command is used to create a new folder. The mkdir command is available in all versions of Windows, as well as in MS-DOS. Mklink The mklink command is used to create a symbolic link. The mklink command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Mode The mode command is used to configure system devices, most often COM and LPT ports. The mode command is available in all versions of Windows, as well as in MS-DOS. Mofcomp The mofcomp command properly displays the data within a Managed Object Format (MOF) file. The mofcomp command is available in all versions of Windows. More The more command is used to display the information contained in a text file. The more command can also be used to paginate the results of any other Command Prompt or MS-DOS command. The more command is available in all versions of Windows, as well as in MS-DOS. Mount The mount command is used to mount Network File System (NFS) network shares. The mount command is available in Windows 7 and Windows Vista. The mount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The mount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Mountvol The mountvol command is used to display, create, or remove volume mount points. The mountvol command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Move The move command is used to move one or files from one folder to another. The move command is also used to rename directories. The move command is available in all versions of Windows, as well as in MS-DOS. Mrinfo The mrinfo command is used to provide information about a router’s interfaces and neighbors. The mrinfo command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Msav The msav command starts Microsoft Antivirus. The msav command is only available in MS-DOS. Microsoft Antivirus was designed for MS-DOS and Windows 3.x only. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third party antivirus tools are available for all versions of Windows. Msbackup The msbackup command starts Microsoft Backup, a tool used to back up and restore one or more files. The msbackup command is only available in MS-DOS. The msbackup command was replaced with Microsoft Backup beginning in Windows 95 and then Backup and Restore in later versions of Windows. Mscdex The mscdex command is used to provide CD-ROM access to MS-DOS. The mscdex command is available in Windows 98 and 95, as well as in MS-DOS. Windows provides access to CD-ROM drives for the MS-DOS subsystem beginning in Windows XP, so the mscdex command is unnecessary in this and later operating systems. Msd The msd command starts Microsoft Diagnostics, a system information tool. The msd command is only available in MS-DOS. The msd command was replaced with System Information beginning in Windows 95. Msg The msg command is used to send a message to a user. The msg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Msiexec The msiexec command is used to start Windows Installer, a tool used to install and configure software. The msiexec command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Muiunattend The muiunattend command starts the Multilanguage User Interface unattended setup process. The muiunattend command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Nbtstat The nbtstat command is used to show TCP/IP information and other statistical information about a remote computer. The nbtstat command is available in all versions of Windows. Net The net command is used to display, configure, and correct a wide variety of network settings. The net command is available in all versions of Windows. Net1 The net1 command is used to display, configure, and correct a wide variety of network settings. The net1 command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The net command should be used instead of the net1 command. The net1 command was made available in Windows NT and Windows 2000 as a temporary fix for a Y2K issue that the net command had, which was corrected before the release of Windows XP. The net1 command remains in later versions of Windows only for compatibility with older programs and scripts that utilized the command. Netcfg The netcfg command is used to install the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations. The netcfg command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Netsh The netsh command is used to start Network Shell, a command-line utility used to manage the network configuration of the local, or a remote, computer. The netsh command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Netstat The netstat command is most commonly used to display all open network connections and listening ports. The netstat command is available in all versions of Windows. Nfsadmin The nfsadmin command is used to manage Server for NFS or Client for NFS from the command line. The nfsadmin command is available in Windows 7 and Windows Vista. The nfsadmin command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The nfsadmin command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Nlsfunc The nlsfunc command is used to load information specific to a particular country or region. The nlsfunc command is available in MS-DOS as well as in all 32-bit versions of Windows. The nlsfunc command is not available in 64-bit versions of Windows. Nlsfunc is only available in Windows 10, 8, 7, Vista, and XP to support older MS-DOS files. Nltest The nltest command is used to test secure channels between Windows computers in a domain and between domain controllers that are trusting other domains. The nltest command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Nslookup The nslookup is most commonly used to display the hostname of an entered IP address. The nslookup command queries your configured DNS server to discover the IP address. The nslookup command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Ntbackup The ntbackup command is used to perform various backup functions from the Command Prompt or from within a batch or script file. The ntbackup command is available in Windows XP. The ntbackup command was replaced with the wbadmin beginning in Windows Vista. Ntsd The ntsd command is used to perform certain command line debugging tasks. The ntsd command is available in Windows XP. The ntsd command was removed beginning in Windows Vista due to the addition of dump file support in Task Manager. Ocsetup The ocsetup command starts the Windows Optional Component Setup tool, used to install additional Windows features. The ocsetup command is available in Windows 8, Windows 7, and Windows Vista. Beginning in Windows 8, Microsoft is depreciating the ocsetup command in favor of the dism command. Openfiles The openfiles command is used to display and disconnect open files and folders on a system. The openfiles command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Path The path command is used to display or set a specific path available to executable files. The path command is available in all versions of Windows, as well as in MS-DOS. Pathping The pathping command functions much like the tracert command but will also report information about network latency and loss at each hop. The pathping command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Pause The pause command is used within a batch or script file to pause the processing of the file. When the pause command is used, a «Press any key to continue…» message displays in the command window. The pause command is available in all versions of Windows, as well as in MS-DOS. Pentnt The pentnt command is used to detect floating point division errors in the Intel Pentium chip. The pentnt command is also used to enable floating point emulation and disable floating point hardware. The pentnt command is available in Windows XP. The pentnt command was removed beginning in Windows Vista due to the lack of Intel Pentium CPU use at the time of this operating system release. Ping The ping command sends an Internet Control Message Protocol (ICMP) Echo Request message to a specified remote computer to verify IP-level connectivity. The ping command is available in all versions of Windows. Pkgmgr The pkgmgr command is used to start the Windows Package Manager from the Command Prompt. Package Manager installs, uninstalls, configures, and updates features and packages for Windows. The pkgmgr command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Pnpunattend The pnpunattend command is used to automate the installation of hardware device drivers. The pnpunattend command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Pnputil The pnputil command is used to start the Microsoft PnP Utility, a tool used to install a Plug and Play device from the command line. The pnputil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Popd The popd command is used to change the current directory to the one most recently stored by the pushd command. The popd command is most often utilized from within a batch or script file. The popd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Power The power command is used to reduce the power consumed by a computer by monitoring software and hardware devices. The power command is available in Windows 98 and 95, as well as in MS-DOS. The power command was replaced by operating system integrated power management functions beginning in Windows XP. Powercfg The powercfg command is used to manage the Windows power management settings from the command line. The powercfg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Print The print command is used to print a specified text file to a specified printing device. The print command is available in all versions of Windows, as well as in MS-DOS. Prompt The prompt command is used to customize the appearance of the prompt text in Command Prompt or MS-DOS. The prompt command is available in all versions of Windows, as well as in MS-DOS. Pushd The pushd command is used to store a directory for use, most commonly from within a batch or script program. The pushd command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Pwlauncher The pwlauncher command is used to enable, disable, or show the status of your Windows To Go startup options. The pwlauncher command is available in Windows 11, 10, and 8. Qappsrv The qappsrv command is used to display all Remote Desktop Session Host servers available on the network. The qappsrv command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Qbasic The qbasic command starts QBasic, the MS-DOS based programming environment for the BASIC programming language. The qbasic command is available in Windows 98 and 95, as well as in MS-DOS. The qbasic command is not installed by default with Windows 98 or 95 but is available from the installation disc or disks. Qprocess The qprocess command is used to display information about running processes. The qprocess command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Query The query command is used to display the status of a specified service. The query command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Quser The quser command is used to display information about users currently logged on to the system. The quser command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Qwinsta The qwinsta command is used to display information about open Remote Desktop Sessions. The qwinsta command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rasautou The rasautou command is used to manage Remote Access Dialer AutoDial addresses. The rasautou command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rasdial The rasdial command is used to start or end a network connection for a Microsoft client. The rasdial command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rcp The rcp command is used to copy files between a Windows computer and a system running the rshd daemon. The rcp command is available in Windows 7, Windows Vista, and Windows XP. The rcp command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here for Windows Vista and here for Windows 7. The rcp command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rd The rd command is the shorthand version of the rmdir command. The rd command is available in all versions of Windows, as well as in MS-DOS. Rdpsign The rdpsign command is used to sign a Remote Desktop Protocol (RDP) file. The rdpsign command is available in Windows 7. Reagentc The reagentc command is used to configure the Windows Recovery Environment (RE). The reagentc command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Recimg The recimg command is used to create a custom refresh image. The recimg command is available in Windows 8. Recover The recover command is used to recover readable data from a bad or defective disk. The recover command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Reg The reg command is used to manage the Windows Registry from the command line. The reg command can perform common registry functions like adding registry keys, exporting the registry, etc. The reg command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Regini The regini command is used to set or change registry permissions and registry values from the command line. The regini command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Register-cimprovider The register-cimprovider command is used to register a Common Information Model (CIM) Provider in Windows. The register-cimprovider command is available in Windows 11, Windows 10, and Windows 8. Regsvr32 The regsvr32 command is used to register a DLL file as a command component in the Windows Registry. The regsvr32 command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Relog The relog command is used to create new performance logs from data in existing performance logs. The relog command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rem The rem command is used to record comments or remarks in a batch or script file. The rem command is available in all versions of Windows, as well as in MS-DOS. Ren The ren command is the shorthand version of the rename command. The ren command is available in all versions of Windows, as well as in MS-DOS. Rename The rename command is used to change the name of the individual file that you specify. The rename command is available in all versions of Windows, as well as in MS-DOS. Repair-bde The repair-bde command is used to repair or decrypt a damaged drive that’s been encrypted using BitLocker. The repair-bde command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Replace The replace command is used to replace one or more files with one or more other files. The replace command is available in all versions of Windows, as well as in MS-DOS. Reset The reset command, executed as reset session, is used to reset the session subsystem software and hardware to known initial values. The reset command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Restore The restore command is used to restore files that were backed up using the backup command. The restore command is only available in MS-DOS. The backup command was only available up to MS-DOS 5.00 but the restore command was included by default with later versions of MS-DOS to provide a way to restore files that were backed up in previous versions of MS-DOS. Rexec The rexec command is used to run commands on remote computers running the rexec daemon. The rexec command is available in Windows Vista and Windows XP. The rsh command is not available by default in Windows Vista but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here. The rexec command is not available in Windows 7 but can be executed in Windows XP via Windows XP Mode if need be. Rmdir The rmdir command is used to delete an existing or completely empty folder. The rmdir command is available in all versions of Windows, as well as in MS-DOS. Robocopy The robocopy command is used to copy files and directories from one location to another. This command is also called Robust File Copy. The robocopy command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The robocopy command is superior to both the copy command and the xcopy command because robocopy supports many more options. Route The route command is used to manipulate network routing tables. The route command is available in all versions of Windows. Rpcinfo The rpcinfo command makes a remote procedure call (RPC) to an RPC server and reports what it finds. The rpcinfo command is available in Windows 7 and Windows Vista. The rpcinfo command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The rpcinfo command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rpcping The rpcping command is used to ping a server using RPC. The rpcping command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Rsh The rsh command is used to run commands on remote computers running the rsh daemon. The rsh command is available in Windows 7, Windows Vista, and Windows XP. The rsh command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Subsystem for UNIX-based Applications Windows feature from Programs and Features in Control Panel and then installing the Utilities and SDK for UNIX-based Applications available here for Windows Vista and here for Windows 7. The rsh command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Rsm The rsm command is used to manage media resources using Removable Storage. The rsm command is available in Windows Vista and Windows XP. The rsm command was optional in Windows Vista and then removed in Windows 7 due to Removable Storage Manager being removed from the operating system. Search for the rsm command in the C:Windowswinsxs folder in Windows Vista if you’re having trouble executing the command. Runas The runas command is used to execute a program using another user’s credentials. The runas command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Rwinsta The rwinsta command is the shorthand version of the reset session command. The rwinsta command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Sc The sc command is used to configure information about services. The sc command communicates with the Service Control Manager. The sc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Scandisk The scandisk command is used to start Microsoft ScanDisk, a disk repair program. The scandisk command is available in Windows 98 and 95, as well as in MS-DOS. The scandisk command was replaced by the chkdsk command beginning in Windows XP. Scanreg The scanreg command starts Windows Registry Checker, a basic registry repair program and backup utility. The scanreg command is available in Windows 98 and Windows 95. The functions provided by the scanreg command were no longer necessary beginning in Windows XP due to changes in how the Windows Registry functions. Schtasks The schtasks command is used to schedule specified programs or commands to run at certain times. The schtasks command can be used to create, delete, query, change, run, and end scheduled tasks. The schtasks command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.​ Sdbinst The sdbinst command is used to deploy customized SDB database files. The sdbinst command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Secedit The secedit command is used to configure and analyze system security by comparing the current security configuration to a template. The secedit command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Set The set command is used to display, enable, or disable environment variables in MS-DOS or from the Command Prompt. The set command is available in all versions of Windows, as well as in MS-DOS. Setlocal The setlocal command is used to start the localization of environment changes inside a batch or script file. The setlocal command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Setspn The setspn command is used to manage the Service Principal Names (SPN) for an Active Directory (AD) service account. The setspn command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Setver The setver command is used to set the MS-DOS version number that MS-DOS reports to a program. The setver command is available in MS-DOS as well as in all 32-bit versions of Windows. The setver command is not available in 64-bit versions of Windows. Setx The setx command is used to create or change environment variables in the user environment or the system environment. The setx command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Sfc The sfc command is used to verify and replace important Windows system files. The sfc command is also referred to as System File Checker or Windows Resource Checker, depending on the operating system. The sfc command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Shadow The shadow command is used to monitor another Remote Desktop Services session. The shadow command is available in Windows 7, Windows Vista, and Windows XP. Share The share command is used to install file locking and file sharing functions in MS-DOS. The share command is available in MS-DOS as well as in all 32-bit versions of Windows. The share command is not available in 64-bit versions of Windows. Share is only available in Windows 10, 8, 7, Vista, and XP to support older MS-DOS files. Shift The shift command is used to change the position of replaceable parameters in a batch or script file. The shift command is available in all versions of Windows, as well as in MS-DOS. Showmount The showmount command is used to display information about NFS mounted file systems. The showmount command is available in Windows 7 and Windows Vista. The showmount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The showmount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Shutdown The shutdown command can be used to shut down, restart, or log off the current system or a remote computer. The shutdown command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Smartdrv The smartdrv command installs and configures SMARTDrive, a disk caching utility for MS-DOS. The smartdrv command is available in Windows 98 and 95, as well as in MS-DOS. Caching is automatic beginning in Windows XP, making the smartdrv command unnecessary. Sort The sort command is used to read data from a specified input, sort that data, and return the results of that sort to the Command Prompt screen, a file, or another output device. The sort command is available in all versions of Windows, as well as in MS-DOS. Start The start command is used to open a new command line window to run a specified program or command. The start command can also be used to start an application without creating a new window. The start command is available in all versions of Windows. Subst The subst command is used to associate a local path with a drive letter. The subst command is a lot like the net use command except a local path is used instead of a shared network path. The subst command is available in all versions of Windows, as well as in MS-DOS. The subst command replaced the assign command beginning with MS-DOS 6.0. Sxstrace The sxstrace command is used to start the WinSxs Tracing Utility, a programming diagnostic tool. The sxstrace command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Sys The sys command is used to copy the MS-DOS system files and command interpreter to a disk. The sys command is available in Windows 98 and 95, as well as in MS-DOS. The sys command is used most often to create a simple bootable disk or hard drive. The necessary system files for Windows are too large to fit on a disk, so the sys command was removed beginning in Windows XP. Systeminfo The systeminfo command is used to display basic Windows configuration information for the local or a remote computer. The systeminfo command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Takeown The takedown command is used to regain access to a file that that an administrator was denied access to when reassigning ownership of the file. The takeown command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Taskkill The taskkill command is used to terminate a running task. The taskkill command is the command line equivalent of ending a process in Task Manager in Windows. The taskkill command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tasklist Displays a list of applications, services, and the Process ID (PID) currently running on either a local or a remote computer. The tasklist command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tcmsetup The tcmsetup command is used to set up or disable the Telephony Application Programming Interface (TAPI) client. The tcmsetup command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Telnet The telnet command is used to communicate with remote computers that use the Telnet protocol. The telnet command is available in all versions of Windows. The telnet command is not available by default in Windows 11, 10, 8, 7, or Vista, but can be enabled by turning on the Telnet Client Windows feature from Programs and Features in Control Panel. Tftp The tftp command is used to transfer files to and from a remote computer that’s running the Trivial File Transfer Protocol (TFTP) service or daemon. The tftp command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The tftp command is not available by default in some versions of Windows, but can be enabled by turning on the TFTP Client Windows feature from Programs and Features in Control Panel. Time The time command is used to show or change the current time. The time command is available in all versions of Windows, as well as in MS-DOS. Timeout The timeout command is typically used in a batch or script file to provide a specified timeout value during a procedure. The timeout command can also be used to ignore keypresses. The timeout command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Title The title command is used to set the Command Prompt window title. The title command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tlntadmn The tlntadmn command is used to administer a local or remote computer running Telnet Server. The tlntadmn command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. The tlntadmn command is not available by default in some versions of Windows, but can be enabled by turning on the Telnet Server Windows feature from Programs and Features in Control Panel. Tpmvscmgr The tpmvscmgr command is used to create and destroy TPM virtual smart cards. The tpmvscmgr command is available in Windows 11, Windows 10, and Windows 8. Tracerpt The tracerpt command is used to process event trace logs or real-time data from instrumented event trace providers. The tracerpt command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tracert The tracert command sends Internet Control Message Protocol (ICMP) Echo Request messages to a specified remote computer with increasing Time to Live (TTL) field values and displays the IP address and hostname, if available, of the router interfaces between the source and destination. The tracert command is available in all versions of Windows. Tree The tree command is used to graphically display the folder structure of a specified drive or path. The tree command is available in all versions of Windows, as well as in MS-DOS. Tscon The tscon command is used to attach a user session to a Remote Desktop session. The tscon command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tsdiscon The tsdiscon command is used to disconnect a Remote Desktop session. The tsdiscon command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tskill The tskill command is used to end the specified process. The tskill command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tsshutdn The tsshutdn command is used to remotely shut down or restart a terminal server. The tsshutdn command is available in Windows XP. The ability to shut down a computer remotely is also available in the more powerful shutdown command, so tsshutdn was removed beginning in Windows Vista. Type The type command is used to display the information contained in a text file. The type command is available in all versions of Windows, as well as in MS-DOS. Typeperf The typerperf command displays performance data in the Command Prompt window or writes the data to specified log file. The typeperf command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Tzutil The tzutil command is used to display or configure the current system’s time zone. The tzutil command can also be used to enable or disable Daylight Saving Time adjustments. The tzutil command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Umount The umount command is used to remove Network File System (NFS) mounted network shares. The umount command is available in Windows 7 and Windows Vista. The umount command is not available by default in Windows Vista or Windows 7 but can be enabled by turning on the Services for NFS Windows feature from Programs and Features in Control Panel. The umount command is not available in Windows 11, 10, or 8 because Service for UNIX (SFU) was discontinued. Undelete The undelete command is used to undo a deletion performed with the MS-DOS delete command. The undelete command is only available in MS-DOS. The undelete command was removed beginning in Windows 95 due to the availability of the Recycle Bin in Windows. Additionally, free file recovery programs are available from third-party software makers. Unformat The unformat command is used to undo the formatting on a drive performed by the MS-DOS format command. The unformat command is only available in MS-DOS. The unformat command was removed beginning in Windows 95 due to file system changes. Unlock The unlock command is used to unlock a drive, disabling direct disk access for a program. The unlock command is only available in Windows 98 and 95. Drive locking is no longer available as of Windows XP. Unlodctr The unlodctr command removes Explain text and Performance counter names for a service or device driver from the Windows Registry. The unlodctr command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Vaultcmd The vaultcmd command is used to create, remove, and show stored credentials. The vaultcmd command is available in Windows 11, Windows 10, Windows 8, and Windows 7. Ver The ver command is used to display the current Windows or MS-DOS version number. The ver command is available in all versions of Windows, as well as in MS-DOS. Verify The verify command is used to enable or disable the ability of Command Prompt, or MS-DOS, to verify that files are written correctly to a disk. The verify command is available in all versions of Windows, as well as in MS-DOS. Vol The vol command shows the volume label and serial number of a specified disk, assuming this information exists. The vol command is available in all versions of Windows, as well as in MS-DOS. Vsafe The vsafe command is used to start VSafe, a basic virus protection system for MS-DOS. The vsafe command is only available in MS-DOS. VSafe was designed for MS-DOS and Windows 3.x only. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third-party antivirus tools are available for all versions of Windows. Vssadmin The vssadmin command starts the Volume Shadow Copy Service administrative command line tool which displays current volume shadow copy backups and all installed shadow copy writers and providers. The vssadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. W32tm The w32tm command is used to diagnose issues with Windows Time. The w32tm command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Waitfor The waitfor command is used to send or wait for a signal on a system. The waitfor command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wbadmin The wbadmin command is used to start and stop backup jobs, display details about a previous backup, list the items within a backup, and report on the status of a currently running backup. The wbadmin command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. The wbadmin command replaced the ntbackup command beginning in Windows Vista. Wecutil The wecutil command is used to manage subscriptions to events that are forwarded from WS-Management supported computers. The wecutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wevtutil The wevtutil command starts the Windows Events Command Line Utility which is used to manage event logs and publishers. The wevtutil command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Where The where command is used to search for files that match a specified pattern. The where command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Whoami The whoami command is used to retrieve user name and group information on a network. The whoami command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winmgmt The winmgmt command starts the command line version of WMI, a scripting tool in Windows. The winmgmt command is available in all versions of Windows. Winrm The winrm command is used to start the command line version of Windows Remote Management, used to manage secure communications with local and remote computers using web services. The winrm command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winrs The winrs command is used to open a secure command window with a remote host. The winrs command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Winsat The winsat command starts the Windows System Assessment Tool, a program that assesses various features, attributes, and capabilities of a computer running Windows. The winsat command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Wmic The wmic command starts the Windows Management Instrumentation Command line (WMIC), a scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed via WMI. The wmic command is available in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. Wsmanhttpconfig The wsmanhttpconfig command is used to manage aspects of the Windows Remote Management (WinRM) service. The wsmanhttpconfig command is available in Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista. Xcopy The xcopy command can copy one or more files or directory trees from one location to another. The xcopy command is generally considered a more «powerful» version of the copy command through the robocopy command trumps even xcopy. The xcopy command is available in all versions of Windows, as well as in MS-DOS. A command by the name of xcopy32 existed in Windows 95 and Windows 98. To avoid a long and confusing explanation here, just know that no matter if you executed the xcopy command or the xcopy32 command, you were always executing the most updated version of the command. Xwizard The xwizard command, short for Extensible Wizard, is used to register data in Windows, often from a preconfigured XML file. The xwizard command is available in Windows 11, Windows 10, Windows 8, and Windows 7.

Понравилась статья? Поделить с друзьями:
  • Команда запуска рабочего стола в windows 10 через диспетчер задач
  • Команда для смены шрифта в windows
  • Командная строка windows 10 полный список команд для хакеров
  • Команда закрыть все окна в windows 10
  • Команда для смены рабочего стола windows 10