Table I. DOS Command Reference (Continued)

Command

Switch††

Description

Example(s)§

 

 

File and Disk Management Commands (Continued)

 

 

 

 

 

 

DEL

 

Deletes a single file or a

C:\>DEL C:\9700\OLDFILE.MON

Deletes the OLDFILE.MON file

 

 

group of files from the

 

from the C:\9700 directory.

 

 

specified location.

C:\9700>DEL OLDFILE.MON

Deletes the OLDFILE.MON file

 

 

NOTE: You can restore

 

 

 

from the C:\9700 directory.

 

 

deleted files using the

 

 

 

 

 

 

 

UNDELETE command.

C:\>DEL A:OLDFILE.MON

Deletes the OLDFILE.MON file

 

 

WARNING: Be careful

 

 

 

from the floppy disk in drive A.

 

 

that you do not delete

A:\>DEL OLDFILE.MON

Deletes the OLDFILE.MON file

 

 

necessary system or

 

 

configuration files.

 

from the floppy disk in drive A.

 

 

 

C:\9700>DEL OLDFILE.*

Deletes all files with the

 

 

 

 

OLDFILE root name from the

 

 

 

 

C:\9700 directory.

 

 

 

 

 

 

/P

Prompts you for confir-

C:\9700>DEL OLDFILE.* /P

Prompts you for confirmation

 

 

mation before deleting a

 

before deleting each file with

 

 

file.

 

the OLDFILE root name from

 

 

 

 

the C:\9700 directory.

 

 

 

 

 

EDIT

 

Starts the MS-DOS

C:\9700>EDIT STARTUP.BAT

Allows you to edit the

 

 

editor, which is a text

 

startup.bat file.

 

 

editor that can be used

 

 

 

 

to create and edit ASCII

 

 

 

 

text files.

 

 

 

 

 

 

 

FORMAT

 

Formats a disk for use

C:\>FORMAT A:

Formats the floppy disk in drive

 

 

with DOS. If data is

 

A for use with DOS.

 

 

present on the disk, the

 

 

 

 

data is erased.

 

 

 

 

WARNING: Do not

 

 

 

 

format the C: drive.

 

 

 

 

 

 

 

 

/S

Transfers operating sys-

C:\>FORMAT A:\S

Transfers operating system

 

 

tem files to a newly for-

 

files to a newly formatted

 

 

matted floppy disk that

 

floppy disk in drive A.

 

 

can be used as the sys-

 

 

 

 

tem disk, allowing you

 

 

 

 

to boot from the disk.

 

 

 

 

 

 

 

REN

 

Changes the name of a

 

 

single file or a group of

 

 

 

 

files. For information

 

 

 

 

about DOS filename

 

 

 

 

conventions, refer to the

 

 

 

 

DOS Filename Conven-

 

 

 

 

tions section.

 

 

 

 

 

 

 

C1572M (9/05)

69

Page 69
Image 69
Pelco System 9760 manual Del