Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DOS Command

256 views

Published on

Basic commands you can use in MicroSoft's Disk Operating System (DOS).

Published in: Education
  • Be the first to comment

  • Be the first to like this

DOS Command

  1. 1. DOS Commands Damian Gordon
  2. 2. dir • List all the files in the current folder.
  3. 3. dir
  4. 4. help • List all the possible DOS commands, and explain what they do.
  5. 5. help
  6. 6. cls • Clear the screen.
  7. 7. cls
  8. 8. echo hello world • Print out whatever arguments come after the ‘echo’ command.
  9. 9. echo hello world
  10. 10. path • List all the directories that DOS will search through to locate a command executable.
  11. 11. path
  12. 12. cd .. • Change directory to one level higher up in the hierarchy structure.
  13. 13. cd ..
  14. 14. tree • Print out a graphical representation of all the folders in the system.
  15. 15. tree
  16. 16. MORE ON PATH
  17. 17. path • List all the directories that DOS will search through to locate a command executable.
  18. 18. path
  19. 19. path • echo %PATH%
  20. 20. path
  21. 21. path • >set path = %path%;C:UsersDieterAppDataLocalProg ramsPythonPytjon36-32
  22. 22. path • >set path = %path%;C:UsersDieterAppDataLocalProg ramsPythonPytjon36-32 SET will add the new directory to the PATH as long as the current DOS window is open.
  23. 23. path
  24. 24. path • >setx path = %path%;C:UsersDieterAppDataLocalProg ramsPythonPytjon36-32
  25. 25. path • >setx path = %path%;C:UsersDieterAppDataLocalProg ramsPythonPytjon36-32 SETX will add the new directory to the PATH as long as the current DOS window is open.
  26. 26. HACKING COMMANDS
  27. 27. Hacking Commands • doskey /history • Display command history.
  28. 28. Hacking Commands • ipconfig && mspaint • Run two commands together (&&).
  29. 29. Hacking Commands • driverquery • See all the drivers installed on your computer.
  30. 30. Hacking Commands • ipconfig | clip • Send the command’s output to the clipboard.
  31. 31. Hacking Commands • sfc /scannow • Run a system file checker tool that scans Windows system files and looks for problems.

×