104 useful commands for windows command

Essential Windows Command Prompt Commands

The Windows Command Prompt is a powerful tool that allows users to perform a wide range of tasks using text-based commands. Whether you're troubleshooting, managing files, or configuring system settings, knowing some key commands can enhance your efficiency and productivity. Here is a list of useful commands for the Windows Command Prompt:

Basic Navigation Commands

  1. cd (Change Directory)

    • Usage: cd [directory]
    • Example: cd C:\Users\YourUsername\Documents
    • Changes the current directory to the specified path.
  2. dir (Directory)

    • Usage: dir [directory]
    • Example: dir C:\Users\YourUsername\Documents
    • Lists the contents of the specified directory.
  3. mkdir (Make Directory)

    • Usage: mkdir [directory]
    • Example: mkdir C:\Users\YourUsername\NewFolder
    • Creates a new directory.
  4. rmdir (Remove Directory)

    • Usage: rmdir [directory]
    • Example: rmdir C:\Users\YourUsername\OldFolder
    • Removes an empty directory.

File Management Commands

  1. copy

    • Usage: copy [source] [destination]
    • Example: copy C:\Users\YourUsername\File.txt D:\Backup\File.txt
    • Copies files from one location to another.
  2. xcopy

    • Usage: xcopy [source] [destination] /s /e
    • Example: xcopy C:\Users\YourUsername\Documents D:\Backup\Documents /s /e
    • Copies files and directories, including subdirectories.
  3. move

    • Usage: move [source] [destination]
    • Example: move C:\Users\YourUsername\File.txt D:\Backup\File.txt
    • Moves files from one location to another.
  4. del (Delete)

    • Usage: del [file]
    • Example: del C:\Users\YourUsername\File.txt
    • Deletes one or more files.

System Information and Configuration Commands

  1. systeminfo

    • Usage: systeminfo
    • Description: Displays detailed configuration information about the computer and its operating system.
  2. ipconfig

    • Usage: ipconfig /all
    • Description: Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
  3. ping

    • Usage: ping [hostname or IP address]
    • Example: ping google.com
    • Description: Tests connectivity to a specified host.
  4. tracert

    • Usage: tracert [hostname or IP address]
    • Example: tracert google.com
    • Description: Traces the path taken to reach the specified host.
  5. tasklist

    • Usage: tasklist
    • Description: Displays a list of currently running processes.
  6. taskkill

    • Usage: taskkill /IM [processname] /F
    • Example: taskkill /IM notepad.exe /F
    • Description: Terminates a specified process.

Disk Management Commands

  1. chkdsk (Check Disk)

    • Usage: chkdsk [drive:] /f /r
    • Example: chkdsk C: /f /r
    • Description: Checks the file system and file system metadata of a volume for logical and physical errors.
  2. diskpart

    • Usage: diskpart
    • Description: Opens the Disk Partition utility, which allows you to manage disk partitions.
  3. format

    • Usage: format [drive:] /FS:[filesystem]
    • Example: format D: /FS:NTFS
    • Description: Formats a disk to the specified file system.

Network Commands

  1. netstat

    • Usage: netstat -a
    • Description: Displays active connections and listening ports.
  2. netsh

    • Usage: netsh [command]
    • Example: netsh wlan show profiles
    • Description: Configures network interfaces and settings.
  3. route

    • Usage: route print
    • Description: Displays the routing table.

Advanced Commands

  1. powershell

    • Usage: powershell
    • Description: Opens the PowerShell command-line interface.
  2. schtasks

    • Usage: schtasks /create /tn "[taskname]" /tr "[taskrun]" /sc [schedule]
    • Example: schtasks /create /tn "MyTask" /tr "C:\Path\To\Script.bat" /sc daily /st 12:00
    • Description: Schedules tasks to run at specified times.
  3. shutdown

    • Usage: shutdown /s /f /t [seconds]
    • Example: shutdown /s /f /t 0
    • Description: Shuts down the computer.
  4. sfc (System File Checker)

    • Usage: sfc /scannow
    • Description: Scans and repairs corrupted system files.
  5. regedit

    • Usage: regedit
    • Description: Opens the Windows Registry Editor.

Conclusion

The Windows Command Prompt offers a rich set of commands that can help you perform a wide range of tasks efficiently. Whether you are a novice user or an experienced IT professional, familiarizing yourself with these essential commands can enhance your ability to manage and troubleshoot your Windows environment effectively.

from: 
https://intitute.blogspot.com/2018/10/104-useful-commands-for-windows-command.html

A list of some useful commands for windows command 

  1. Add Hardware Wizard - hdwwiz.cpl
  2.  Add/Remove Programs - appwiz.cpl
  3.  Administrative Tools - control admintools
  4.  Bluetooth Transfer Wizard - fsquirt
  5.  Calculator - calc
  6.  Certificate Manager - certmgr.msc
  7.  Character Map - charmap
  8.  Check Disk Utility - chkdsk
  9.  Clipboard Viewer - clipbrd
  10.  Command Prompt - cmd
  11.  Component Services - dcomcnfg
  12.  Computer Management - compmgmt.msc
  13.  Control Panel - control
  14.  Date and Time Properties - timedate.cpl
  15.  DDE Shares - ddeshare
  16.  Device Manager - devmgmt.msc
  17.  Direct X Troubleshooter - dxdiag
  18.  Disk Cleanup Utility - cleanmgr
  19.  Disk Defragment - dfrg.msc
  20.  Disk Management - diskmgmt.msc
  21.  Disk Partition Manager - diskpart
  22.  Display Properties - control desktop
  23.  Display Properties - desk.cpl
  24.  Dr. Watson System Troubleshooting Utility - drwtsn32
  25.  Driver Verifier Utility - verifier
  26.  Event Viewer - eventvwr.msc
  27.  Files and Settings Transfer Tool - migwiz
  28.  File Signature Verification Tool - sigverif
  29.  Findfast - findfast.cpl
  30.  Firefox - firefox
  31.  Folders Properties - control folders
  32.  Fonts - control fonts
  33.  Fonts Folder - fonts
  34.  Free Cell Card Game - freecell
  35.  Game Controllers - joy.cpl
  36.  Group Policy Editor (for xp professional) - gpedit.msc
  37.  Hearts Card Game - mshearts
  38.  Help and Support - helpctr
  39.  HyperTerminal - hypertrm
  40.  Iexpress Wizard - iexpress
  41.  Indexing Service - ciadv.msc
  42.  Internet Connection Wizard - icwconn1
  43.  Internet Explorer - iexplore
  44.  Internet Properties - inetcpl.cpl
  45.  Keyboard Properties - control keyboard
  46.  Local Security Settings - secpol.msc
  47.  Local Users and Groups - lusrmgr.msc
  48.  Logs You Out Of Windows - logoff
  49.  Malicious Software Removal Tool - mrt
  50.  Microsoft Chat - winchat
  51.  Microsoft Movie Maker - moviemk
  52.  Microsoft Paint - mspaint
  53.  Microsoft Syncronization Tool - mobsync
  54.  Minesweeper Game - winmine
  55.  Mouse Properties - control mouse
  56.  Mouse Properties - main.cpl
  57.  Netmeeting - conf
  58.  Network Connections - control netconnections
  59.  Network Connections - ncpa.cpl
  60.  Network Setup Wizard - netsetup.cpl
  61.  Notepad - notepad
  62.  Object Packager - packager
  63.  ODBC Data Source Administrator - odbccp32.cpl
  64.  On Screen Keyboard - osk
  65.  Outlook Express - msimn
  66.  Paint - pbrush
  67.  Password Properties - password.cpl
  68.  Performance Monitor - perfmon.msc
  69.  Performance Monitor - perfmon
  70.  Phone and Modem Options - telephon.cpl
  71.  Phone Dialer - dialer
  72.  Pinball Game - pinball
  73.  Power Configuration - powercfg.cpl
  74.  Printers and Faxes - control printers
  75.  Printers Folder - printers
  76.  Regional Settings - intl.cpl
  77.  Registry Editor - regedit
  78.  Registry Editor - regedit32
  79.  Remote Access Phonebook - rasphone
  80.  Remote Desktop - mstsc
  81.  Removable Storage - ntmsmgr.msc
  82.  Removable Storage Operator Requests - ntmsoprq.msc
  83.  Resultant Set of Policy (for xp professional) - rsop.msc
  84.  Scanners and Cameras - sticpl.cpl
  85.  Scheduled Tasks - control schedtasks
  86.  Security Center - wscui.cpl
  87.  Services - services.msc
  88.  Shared Folders - fsmgmt.msc
  89.  Shuts Down Windows - shutdown
  90.  Sounds and Audio - mmsys.cpl
  91.  Spider Solitare Card Game - spider
  92.  SQL Client Configuration - cliconfg
  93.  System Configuration Editor - sysedit
  94.  System Configuration Utility - msconfig
  95.  System Information - msinfo32
  96.  System Properties - sysdm.cpl
  97.  Task Manager - taskmgr
  98.  TCP Tester - tcptest
  99.  Telnet Client - telnet
  100.  User Account Management - nusrmgr.cpl
  101.  Utility Manager - utilman
  102.  Windows Address Book - wab
  103.  Windows Address Book Import Utility - wabmig
  104.  Windows Explorer - explorer

Essential Windows Command Prompt Commands

The Windows Command Prompt is a powerful tool that allows users to perform a wide range of tasks using text-based commands. Whether you're troubleshooting, managing files, or configuring system settings, knowing some key commands can enhance your efficiency and productivity. Here is a list of useful commands for the Windows Command Prompt:

Basic Navigation Commands

  1. cd (Change Directory)

    • Usage: cd [directory]
    • Example: cd C:\Users\YourUsername\Documents
    • Changes the current directory to the specified path.
  2. dir (Directory)

    • Usage: dir [directory]
    • Example: dir C:\Users\YourUsername\Documents
    • Lists the contents of the specified directory.
  3. mkdir (Make Directory)

    • Usage: mkdir [directory]
    • Example: mkdir C:\Users\YourUsername\NewFolder
    • Creates a new directory.
  4. rmdir (Remove Directory)

    • Usage: rmdir [directory]
    • Example: rmdir C:\Users\YourUsername\OldFolder
    • Removes an empty directory.

File Management Commands

  1. copy

    • Usage: copy [source] [destination]
    • Example: copy C:\Users\YourUsername\File.txt D:\Backup\File.txt
    • Copies files from one location to another.
  2. xcopy

    • Usage: xcopy [source] [destination] /s /e
    • Example: xcopy C:\Users\YourUsername\Documents D:\Backup\Documents /s /e
    • Copies files and directories, including subdirectories.
  3. move

    • Usage: move [source] [destination]
    • Example: move C:\Users\YourUsername\File.txt D:\Backup\File.txt
    • Moves files from one location to another.
  4. del (Delete)

    • Usage: del [file]
    • Example: del C:\Users\YourUsername\File.txt
    • Deletes one or more files.

System Information and Configuration Commands

  1. systeminfo

    • Usage: systeminfo
    • Description: Displays detailed configuration information about the computer and its operating system.
  2. ipconfig

    • Usage: ipconfig /all
    • Description: Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
  3. ping

    • Usage: ping [hostname or IP address]
    • Example: ping google.com
    • Description: Tests connectivity to a specified host.
  4. tracert

    • Usage: tracert [hostname or IP address]
    • Example: tracert google.com
    • Description: Traces the path taken to reach the specified host.
  5. tasklist

    • Usage: tasklist
    • Description: Displays a list of currently running processes.
  6. taskkill

    • Usage: taskkill /IM [processname] /F
    • Example: taskkill /IM notepad.exe /F
    • Description: Terminates a specified process.

Disk Management Commands

  1. chkdsk (Check Disk)

    • Usage: chkdsk [drive:] /f /r
    • Example: chkdsk C: /f /r
    • Description: Checks the file system and file system metadata of a volume for logical and physical errors.
  2. diskpart

    • Usage: diskpart
    • Description: Opens the Disk Partition utility, which allows you to manage disk partitions.
  3. format

    • Usage: format [drive:] /FS:[filesystem]
    • Example: format D: /FS:NTFS
    • Description: Formats a disk to the specified file system.

Network Commands

  1. netstat

    • Usage: netstat -a
    • Description: Displays active connections and listening ports.
  2. netsh

    • Usage: netsh [command]
    • Example: netsh wlan show profiles
    • Description: Configures network interfaces and settings.
  3. route

    • Usage: route print
    • Description: Displays the routing table.

Advanced Commands

  1. powershell

    • Usage: powershell
    • Description: Opens the PowerShell command-line interface.
  2. schtasks

    • Usage: schtasks /create /tn "[taskname]" /tr "[taskrun]" /sc [schedule]
    • Example: schtasks /create /tn "MyTask" /tr "C:\Path\To\Script.bat" /sc daily /st 12:00
    • Description: Schedules tasks to run at specified times.
  3. shutdown

    • Usage: shutdown /s /f /t [seconds]
    • Example: shutdown /s /f /t 0
    • Description: Shuts down the computer.
  4. sfc (System File Checker)

    • Usage: sfc /scannow
    • Description: Scans and repairs corrupted system files.
  5. regedit

    • Usage: regedit
    • Description: Opens the Windows Registry Editor.

Conclusion

The Windows Command Prompt offers a rich set of commands that can help you perform a wide range of tasks efficiently. Whether you are a novice user or an experienced IT professional, familiarizing yourself with these essential commands can enhance your ability to manage and troubleshoot your Windows environment effectively.

from: 
https://intitute.blogspot.com/2018/10/104-useful-commands-for-windows-command.html

A list of some useful commands for windows command 

  1. Add Hardware Wizard - hdwwiz.cpl
  2.  Add/Remove Programs - appwiz.cpl
  3.  Administrative Tools - control admintools
  4.  Bluetooth Transfer Wizard - fsquirt
  5.  Calculator - calc
  6.  Certificate Manager - certmgr.msc
  7.  Character Map - charmap
  8.  Check Disk Utility - chkdsk
  9.  Clipboard Viewer - clipbrd
  10.  Command Prompt - cmd
  11.  Component Services - dcomcnfg
  12.  Computer Management - compmgmt.msc
  13.  Control Panel - control
  14.  Date and Time Properties - timedate.cpl
  15.  DDE Shares - ddeshare
  16.  Device Manager - devmgmt.msc
  17.  Direct X Troubleshooter - dxdiag
  18.  Disk Cleanup Utility - cleanmgr
  19.  Disk Defragment - dfrg.msc
  20.  Disk Management - diskmgmt.msc
  21.  Disk Partition Manager - diskpart
  22.  Display Properties - control desktop
  23.  Display Properties - desk.cpl
  24.  Dr. Watson System Troubleshooting Utility - drwtsn32
  25.  Driver Verifier Utility - verifier
  26.  Event Viewer - eventvwr.msc
  27.  Files and Settings Transfer Tool - migwiz
  28.  File Signature Verification Tool - sigverif
  29.  Findfast - findfast.cpl
  30.  Firefox - firefox
  31.  Folders Properties - control folders
  32.  Fonts - control fonts
  33.  Fonts Folder - fonts
  34.  Free Cell Card Game - freecell
  35.  Game Controllers - joy.cpl
  36.  Group Policy Editor (for xp professional) - gpedit.msc
  37.  Hearts Card Game - mshearts
  38.  Help and Support - helpctr
  39.  HyperTerminal - hypertrm
  40.  Iexpress Wizard - iexpress
  41.  Indexing Service - ciadv.msc
  42.  Internet Connection Wizard - icwconn1
  43.  Internet Explorer - iexplore
  44.  Internet Properties - inetcpl.cpl
  45.  Keyboard Properties - control keyboard
  46.  Local Security Settings - secpol.msc
  47.  Local Users and Groups - lusrmgr.msc
  48.  Logs You Out Of Windows - logoff
  49.  Malicious Software Removal Tool - mrt
  50.  Microsoft Chat - winchat
  51.  Microsoft Movie Maker - moviemk
  52.  Microsoft Paint - mspaint
  53.  Microsoft Syncronization Tool - mobsync
  54.  Minesweeper Game - winmine
  55.  Mouse Properties - control mouse
  56.  Mouse Properties - main.cpl
  57.  Netmeeting - conf
  58.  Network Connections - control netconnections
  59.  Network Connections - ncpa.cpl
  60.  Network Setup Wizard - netsetup.cpl
  61.  Notepad - notepad
  62.  Object Packager - packager
  63.  ODBC Data Source Administrator - odbccp32.cpl
  64.  On Screen Keyboard - osk
  65.  Outlook Express - msimn
  66.  Paint - pbrush
  67.  Password Properties - password.cpl
  68.  Performance Monitor - perfmon.msc
  69.  Performance Monitor - perfmon
  70.  Phone and Modem Options - telephon.cpl
  71.  Phone Dialer - dialer
  72.  Pinball Game - pinball
  73.  Power Configuration - powercfg.cpl
  74.  Printers and Faxes - control printers
  75.  Printers Folder - printers
  76.  Regional Settings - intl.cpl
  77.  Registry Editor - regedit
  78.  Registry Editor - regedit32
  79.  Remote Access Phonebook - rasphone
  80.  Remote Desktop - mstsc
  81.  Removable Storage - ntmsmgr.msc
  82.  Removable Storage Operator Requests - ntmsoprq.msc
  83.  Resultant Set of Policy (for xp professional) - rsop.msc
  84.  Scanners and Cameras - sticpl.cpl
  85.  Scheduled Tasks - control schedtasks
  86.  Security Center - wscui.cpl
  87.  Services - services.msc
  88.  Shared Folders - fsmgmt.msc
  89.  Shuts Down Windows - shutdown
  90.  Sounds and Audio - mmsys.cpl
  91.  Spider Solitare Card Game - spider
  92.  SQL Client Configuration - cliconfg
  93.  System Configuration Editor - sysedit
  94.  System Configuration Utility - msconfig
  95.  System Information - msinfo32
  96.  System Properties - sysdm.cpl
  97.  Task Manager - taskmgr
  98.  TCP Tester - tcptest
  99.  Telnet Client - telnet
  100.  User Account Management - nusrmgr.cpl
  101.  Utility Manager - utilman
  102.  Windows Address Book - wab
  103.  Windows Address Book Import Utility - wabmig
  104.  Windows Explorer - explorer

Tidak ada komentar:

Posting Komentar