Bk-precision 2552-2559 - Programming Manual Uživatelský manuál Strana 39

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 140
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 139 140

Komentáře k této Příručce

Žádné komentáře