02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

KILL<br />

Chapter —Program Instructions<br />

Purpose Statement for deleting a file, directory, or complete directory sub-trees<br />

from the printer’s memory or from a CompactFlash memory card inserted<br />

in the memory card adapter.<br />

Syntax KILL[,R[,A]]<br />

is the file or directory to be deleted.<br />

R recursively removes all non-system files in the specified sub-tree<br />

and then removes all empty directories in the same sub-tree.<br />

A optionally specifies that system files also should be removed.<br />

Remarks The name of the file to be deleted must match the name given when the<br />

file was saved, see SAVE statement. The name must include the extension.<br />

If no extension was entered manually by the operator when the file was<br />

SAVEd, the extension “.PRG” was added automatically.<br />

To KILL a file residing in another directory than the current one (see<br />

CHDIR statement), you must include a reference to the directory in question<br />

when you specify the file, for example "card1:.XYZ".<br />

KILL cannot be used for files residing in "rom:", "storage:", or "lock:".<br />

A directory cannot be removed if it contains files or directories unless the<br />

R flag is included in the KILL statement. Otherwise error 1073, “Directory<br />

not empty” will occur.<br />

A trailing slash character (/) may be added to directory names, but is not<br />

necessary.<br />

The A and R flags are only applicable when removing directories, doing<br />

otherwise will result in error 1034, “Not a directory”.<br />

The root directory of any device cannot be removed.<br />

Note the symmetry with FILES. FILES,R and FILES,R,A<br />

list files and directories that will be removed using KILL,R and<br />

KILL,R,A respectively.<br />

The current directory may be removed (for example KILL CURDIR$,R).<br />

The current directory is not changed after such a command, but is invalid<br />

and a successful CHDIR statement is necessary to restore the current<br />

directory to one that exists (CHDIR".." may not work).<br />

Also see CHDIR, FILES, and MKDIR<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!