Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ext), directories
(e.g., diry, diry1, diry2), commands (e.g., command), and drive letters (e.g., a:, b:, c:) are given, substitute the
name of your own file, directory, command, or drive letter. Since DOS is not case-sensitive, you can type these
commands in either upper- or lowercase.
path=c:\windows ; c:\dos Specify in which directories DOS searches for commands or programs.
prompt $p$g Make the DOS prompt display the current directory.
dir z???.ext List files with .ext extensions that have four letters and start with z (where z is
your choice).
dir file.ext /s Search for the file.ext in the current directory and all subdirectories under the
directory; most useful if the current directory is the root (i.e., C:\).
xcopy diry1 diry2 /s Copy all files and subdirectories in directory diry1 to diry2.
xcopy diry1 diry2 /p Ask for confirmation of each file before copying it from diry1 to diry2.
backup c:\diry\*.ext a: Back up all files with the extension .ext in c:\diry\ to drive a: .
restore a:\ Restore backed-up files with the extension .ext in drive a: to the c:\diry\dire
c:\diry\*.ext
restore a: c:\ /s Restore backed-up files and subdirectories from drive a: to c:\.
scandisk Scan and check drive c: for errors. ScanDisk replaces chkdsk (see below) on D
and above (including Windows 95).
chkdsk a: Check a particular drive (in this case, a floppy in the a: drive).
mem Check memory usage.