Hand Held Products 7200/UG User Manual

Page 174

Advertising
background image

A P P E N D I X C G S - D O S C O M M A N D S

Rev 1.3

174

174

174

174

RD (RMDIR)

The RD command removes a subdirectory from a root directory or of a subdirectory.

This command can only be used to delete directories, and cannot be used to delete files,

even if they are inside the directory to be removed. Conversely, the DEL command

cannot delete directories; only the files they contain. If a drive is specified, then the

directory on the specified drive is removed. Otherwise, the default drive is assumed.

Syntax:

RD [drive:]path

REM

The REM command provides a simple way of entering a free-form comment in a batch

file. The line starting with REM has no effect on the execution of the batch file.

Syntax:

REM any comment

REBOOT

The REBOOT command will reset the terminal.

Syntax:

REBOOT

REN

The REN command renames a file or group of files. Files cannot be moved in the

directory structure with this command; instead, only their filenames are altered within the

directory in which they reside. Wildcards may be used in the second pathname to

indicate that the characters in that component of the first filename are to be kept as-is.

Syntax:

REN [drive:][path]filespec filespec

SHIFT

The SHIFT command allows access to multiple batch file arguments. The command

shifts the contents of the 9 batch file arguments so that %2 is copies into %1, %3 is

copies into %2 and so on.

Syntax:

SHIFT

Advertising