12.07.2015 Views

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

File CommandsBe sure to prefix each command with ”FC”. e.g. FC O 1 R /FILE.TXTSet AttributesDescriptionChange the attributes of a file.In the FAT file system, there are 4 attributes which can be <strong>se</strong>t:Note• A = Archive• H = Hidden• R = Read Only• S = SystemYou can not combine adding and removing of attributes in a single command. i.e. you mustonly add or only remove attributes per command.Format : A +|- attribute pathParameters• attribute is one or more of “R”, “H”, “S”, or “A”.• path is the absolute path to a file/directory. A properly formatted path must begin with a ”/”(forward slash) and begins at the root directory. Subdirectories are <strong>se</strong>parated with ”/”(forward slash).o e.g. /logs/january/jan3.logRespon<strong>se</strong> FormatNULL | EnnExampleTo <strong>se</strong>t “read-only” attribute for a file: A +R /filename.txtTo remove “hidden” and “system” attributes for a file: A -HS /filename.txtCopyDescriptionBart Huyskens <strong>Manual</strong> <strong>Elektor</strong> <strong>Proton</strong> V1.0 3 April 2011 118

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

Saved successfully!

Ooh no, something went wrong!