DOS Command

710 views 31 slides Oct 08, 2019
Slide 1
Slide 1 of 31
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31

About This Presentation

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


Slide Content

DOS Commands Damian Gordon

dir List all the files in the current folder.

dir

help List all the possible DOS commands, and explain what they do.

help

cls Clear the screen.

cls

e cho hello world Print out whatever arguments come after the ‘echo’ command.

e cho hello world

path List all the directories that DOS will search through to locate a command executable.

path

cd .. Change directory to one level higher up in the hierarchy structure.

cd ..

tree Print out a graphical representation of all the folders in the system.

tree

MORE ON PATH

path List all the directories that DOS will search through to locate a command executable.

path

path echo %PATH%

path

path >set path = % path%;C:\Users\Dieter\AppData\Local\Programs\Python\Pytjon36-32

path >set path = % path%;C:\Users\Dieter\AppData\Local\Programs\Python\Pytjon36-32 SET will add the new directory to the PATH as long as the current DOS window is open.

path

path > setx path = % path%;C:\Users\Dieter\AppData\Local\Programs\Python\Pytjon36-32

path > setx path = % path%;C:\Users\Dieter\AppData\Local\Programs\Python\Pytjon36-32 SETX will add the new directory to the PATH as long as the current DOS window is open.

HACKING COMMANDS

Hacking Commands doskey / history Display command history.

Hacking Commands ipconfig && mspaint Run two commands together (&&).

Hacking Commands driverquery S ee all the drivers installed on your computer.

Hacking Commands ipconfig | clip Send the command’s output to the clipboard.

Hacking Commands sfc / scannow Run a system file checker tool that scans Windows system files and looks for problems.