Академический Документы
Профессиональный Документы
Культура Документы
Deltree – Deletes a directory and all the subdirectories and files in it.
To delete one or more files and directories:
DELTREE [/Y] [drive:] path [[drive:] path [...]]
Note: Use DELTREE cautiously. Every file and subdirectory within the
specified directory will be deleted.
Type To
/w Width
/p Pause after screenful of information
/s Display files and subdirectories.
/o Displays files in sorted order
MEM – Displays the amount of used and free memory in your system
Defrag - A file that is too large for a single location on a disk is fragmented and stored in
any free spaces on the disk. You can use fragmented files, but your computer takes longer
to access them. Disk Defragmenter rearranges the files and free space on your disk. Files
open more quickly because they are stored in adjacent units and free space is
consolidated.
Scandisk - To check for disk errors when your computer starts
Syntax – “Scandisk x:” also you may include any switches. /?
Type To
Batch Files
Once you have mastered these simple DOS commands you will be able to store certain
commands you use repetitively in a file/macro called a “Batch File”. A batch file is a
Macro that runs commands within a file. Use the text editor to create or change a batch
file. The first command in the batch file should be “@echo off”. This command turns of
echo while executing all commands in the batch file. In order for a batch file to execute
in must have an extension of .bat.
DOS Networking Commands
Ping – TCP/IP utility used to determine if a remoter machine is reachable using TCP/IP
Protocol. Syntax “Ping” IP Address i.e. 192.168.1.37
Loop-back address is 127.0.0.1 used to check local TCP/IP stack.
Tracert – TCP/IP utility used to show the route a packet takes to get to its destination.
NETSTAT – Utility for determining which TCP/IP connections a machine currently has
open. Used to troubleshoot TCP/IP connectivity problems. Check for open ports.
Net Commands
Work on DOS Lab, ask the Lab instructor print you out the DOS lab and give you a 3 1/4
floppy diskette.
Practice your DOS commands AREAS NEEDED to STUDY format, fdisk, networking
DOS commands.