Posted in: E Learn

MS-DOS Useful Commands

Here are 50 of the most useful DOS commands along with their functions for both Windows 10 and Windows 11:

  1. dir: Lists the files and directories in the current directory.
  2. cd: Changes the current directory.
  3. md (or mkdir): Creates a new directory.
  4. rd (or rmdir): Removes an empty directory.
  5. del (or erase): Deletes one or more files.
  6. copy: Copies one or more files to another location.
  7. xcopy: Copies files and directories, including subdirectories.
  8. move: Moves one or more files to another location.
  9. ren (or rename): Renames a file or directory.
  10. cls: Clears the command prompt screen.
  11. type: Displays the contents of a text file.
  12. attrib: Displays or changes file attributes.
  13. chkdsk: Checks a disk and displays a status report.
  14. diskpart: Manages disk partitions.
  15. format: Formats a disk for use with Windows.
  16. sfc /scannow: Scans and repairs protected system files.
  17. tasklist: Displays a list of currently running processes.
  18. taskkill: Kills a running process.
  19. shutdown: Shuts down or restarts the computer.
  20. netstat: Displays network statistics and current TCP/IP connections.
  21. ping: Tests connectivity to another networked device.
  22. ipconfig: Displays network configuration information.
  23. netsh: Configures network settings.
  24. getmac: Displays the MAC address for network adapters.
  25. nslookup: Queries DNS servers for domain name or IP address information.
  26. tracert: Traces the route packets take to reach a network host.
  27. route: Displays or modifies the routing table.
  28. net use: Connects, disconnects, and displays information about network connections.
  29. net share: Displays and manages shared resources.
  30. net user: Manages user accounts.
  31. net localgroup: Manages local group accounts.
  32. net start: Starts a network service.
  33. net stop: Stops a network service.
  34. systeminfo: Displays detailed system information.
  35. powercfg: Configures power settings.
  36. schtasks: Schedules tasks to run automatically.
  37. cipher: Manages file encryption and decryption.
  38. fc: Compares two files and displays the differences.
  39. tree: Displays a graphical representation of the directory structure.
  40. find: Searches for text within files.
  41. findstr: Searches for strings in files.
  42. reg: Manages the Windows registry.
  43. assoc: Displays or changes file type associations.
  44. ftype: Displays or modifies file types used in file type associations.
  45. charmap: Starts the Character Map utility.
  46. gpupdate: Updates Group Policy settings.
  47. gpresult: Displays the Resultant Set of Policy information.
  48. msconfig: Opens the System Configuration utility.
  49. dxdiag: Opens the DirectX Diagnostic Tool.
  50. path: Displays or sets a search path for executable files.
See also  Tally Prime 10 Q&A

These commands provide a wide range of functions, from file management to network diagnostics, system configuration, and more, making them highly useful for managing and troubleshooting Windows systems.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top