Bk-precision 2552-2559 - Programming Manual Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 140
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
39
DESCRIPTION The DIRECTORY command is used to manage
the creation and deletion of file directories on
mass storage devices. It also allows selection of
the current working directory and listing of
files in the directory.
The query response consists of a double-quoted
string containing a DOS-like listing of the
directory.
COMMAND SYNTAX Directory DISK, <device>, ACTION, <action>,
‘<directory>’
QUERY SYNTAX Directory? DISK, <device> [, ‘<directory>’]
<device>={UDSK}
<action>={CREATE, DELETE}
< directory >= A legal DOS path or filename.
(This can include the ‘/’ character to define the
root directory.)
RESPONSE FORMAT DIRectory DISK, <device> “<directory>”
EXAMPLE The following asks for a listing of the directory of
a USB memory device:
Command message:
DIR? DISK, UDSK
Response message:
DIRectory DISK, UDSK,"A:
BK1000
BK1000AA
BB.SET 2.00 KB
BK00001.SET 2.00 KB
BK00002.SET 2.00 KB
3 File(s), 2 DIR(s)
"
RELATED COMMANDS DELF
MASS STORAGE
DIRECTORY, DIR
Command /Query
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 139 140

Comentarios a estos manuales

Sin comentarios