Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  35
Chapter 2 Program Instructions
CHDIR
Field of Application
 Statement specifying the current directory.
Syntax CHDIR<scon>
<scon> specifi es the current directory (see DEVICES)
Default:  "c:"
Remarks
 By default, the printer’s permanent memory ("c:" ) is the current directory, 
which means the directory that is used if the Intermec Fingerprint instruction 
does not contain any reference to a directory, for example FILES. This 
implies that to access the temporary memory ("tmp:"), the storage part 
of the RTC/Dallas key circuit ("storage:"), or an optional memory card 
("rom:" or "card1:"), you must include such a reference in your instructions, 
for example FILES "rom:".
 The CHDIR statement allows you to appoint another  directory than "c:" 
as the current directory. Obviously, this implies that you must specify the 
permanent memory ("c:") whenever you want to access it.
Example
 In  this  example,  the  current  directory  is  changed to  "lock:", all  fi les 
in "lock:" are listed, and fi nally the current directory is changed back 
to "c:". (This example is only included to illustrate the principles of 
changing the current directory. It is more effi cient to use FILES "lock:" 
to read its contents.)
  10   CHDIR"lock:"
  20   FILES
  30   CHDIR"c:"
  RUN
  yields for example:
  Files on lock:
  SYS1 11
  238 bytes free 11 bytes used










