14 lines
743 B
Plaintext
14 lines
743 B
Plaintext
CREATE "filename" ; creates a new ramdisk with the filename
|
|
MKDIR "name" ; creates a new directory (in current dir)
|
|
CD "\path" ; sets current directory
|
|
ADD "filename" ; adds a file to current directory!
|
|
SETFLAGS 1A1B01 ; sets flags for next added files, number is in hex using this mask:
|
|
* bits description
|
|
* 0-2 file type; ignored, autocompleted at writing
|
|
* 3-5 owner permissions (rwx); w ignored (read only device)
|
|
* 6-8 group permissions (rwx); w ignored
|
|
* 9-11 other permissions (rwx); w ignored
|
|
* 12 hidden
|
|
; default mask is: B68 (no write, everyone can execute and read)
|
|
#asdf ; comment
|
|
CLOSE ; writes and closes the ramdisk. You must close before opening another one |