Bk-precision 2552-2559 - Programming Manual Manuel d'utilisateur Page 39

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 140
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 139 140

Commentaires sur ces manuels

Pas de commentaire