17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHDIR<br />

Field of Application Statement specifying the current directory.<br />

Syntax CHDIR<br />

Chapter 2 Program Instructions<br />

specifies the current directory (see DEVICES)<br />

Default: "c:"<br />

Remarks By default, the printer's permanent memory ("c:" ) is the current directory, i.e.<br />

the directory that is selected if the <strong>Intermec</strong> Fingerprint instruction does not<br />

contain any reference to a directory, e.g. FILES. This implies that to access<br />

the temporary memory ("tmp:"), the storage part of the RTC/Dallas key<br />

circuit ("storage:"), or an optional memory card ("rom:" or "card1:"), you<br />

must include such a reference in your instructions, e.g. FILES "rom:".<br />

The CHDIR statement allows you to appoint another directory than "c:" as<br />

the current directory. Obviously, this implies that you must specify the<br />

permanent memory ("c:") whenever you want to access it.<br />

Example In this example, the current directory is changed to "lock:", all files in "lock:"<br />

are listed, and finally the current directory is changed back to "c:". (This<br />

example is only included to illustrate the principles of changing the current<br />

directory. It is more efficient to use FILES "lock:" to read its contents).<br />

10 CHDIR"lock:"<br />

20 FILES<br />

30 CHDIR"c:"<br />

RUN<br />

yields e.g.:<br />

Files on lock:<br />

SYS1 11<br />

238 bytes free 11 bytes used<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 33

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

Saved successfully!

Ooh no, something went wrong!