home *** CD-ROM | disk | FTP | other *** search
-
-
- TABLE OF CONTENTS
-
- dos/AddBuffers()
- dos/FileNote()
- dos/Makedir()
- dos/Protect()
- dos/Relabel()
-
-
- dos/AddBuffers() dos/AddBuffers()
-
- $VER: dos/AddBuffers 1.00 (17.Jan.1997)
-
- NAME
-
- dos/AddBuffers()
-
- SYNOPSIS
-
- bufnum = 'dos/AddBuffers'(drive,buffers)
-
- FUNCTION
-
- It is an interface for the AmigaDOS command "AddBuffers",
- that must be present into the commands paths.
-
- INPUTS
-
- drive - A valid drive name (DF0:, HD0:, RAM:,...).
- Must be available and mounted in the system.
- If not specified the function will refer to the
- drive associated with the current directory.
-
- buffers - The number of buffers to be added, may be a negative
- number. If not specified the function returns the
- actual number of buffers for the given drive.
-
- RESULT
-
- The total number of buffers assigned to the given drive.
- On failure a zero is returned.
-
- EXAMPLE
-
- drive = "DF0:"
- buffs = 'dos/AddBuffers'(drive,25)
- SAY drive "now has" buffs "buffers..."
-
- NOTES
-
- TODO
-
- BUGS
-
- In case of errors the module don't give any information about
- which was the cause of failure.
-
- SEE ALSO
-
- dos.library/AddBuffers()
-
- dos/FileNote() dos/FileNote()
-
- $VER: dos/FileNote 1.00 (19.Jan.1997)
-
- NAME
-
- dos/FileNote()
-
- SYNOPSIS
-
- success = 'dos/FileNote'(file,comment,options)
-
- FUNCTION
-
- It is an interface for the AmigaDOS command "FileNote",
- that must be present into the commands paths.
-
- INPUTS
-
- file - May be a single file/dir path name, or a pattern
- (eg: "libs:rex#?").
-
- comment - The new comment line, max 80 characters long.
-
- options - "All/S"
-
- "All/S" - Specifying a directory as "file" and giving
- this keyword, the "comment" will be added
- for every file into that directory and its
- sub-directories.
-
- RESULT
-
- boolean, 1 mean "all done".
-
- EXAMPLE
-
- CALL 'dos/FileNote'("rexx:dos/","ARexx script",'All')
-
- NOTES
-
- TODO
-
- BUGS
-
- In case of errors the module don't give any information about
- which was the cause of failure.
-
- SEE ALSO
-
- dos.library/SetComment()
-
- dos/Makedir() dos/Makedir()
-
- $VER: dos/Makedir 1.00 (19.Jan.1997)
-
- NAME
-
- dos/Makedir()
-
- SYNOPSIS
-
- success = 'dos/Makedir'(dirs...)
-
- FUNCTION
-
- It is an interface for the AmigaDOS command "Makedir",
- that must be present into the commands paths.
-
- INPUTS
-
- dirs - The function accepts a maximum of 15 arguments,
- each of them may be one or more directories to be
- created, separated by spaces.
-
- RESULT
-
- boolean, 1 mean "all done".
-
- EXAMPLE
-
- CALL 'dos/Makedir'("t:env t:env/sys","'RAM:new t' RAM:new_t")
-
- NOTES
-
- TODO
-
- BUGS
-
- In case of errors the module don't give any information about
- which was the cause of failure.
-
- SEE ALSO
-
- dos.library/CreateDir()
-
- dos/Protect() dos/Protect()
-
- $VER: dos/Protect 1.00 (19.Jan.1997)
-
- NAME
-
- dos/Protect()
-
- SYNOPSIS
-
- success = 'dos/Protect'(file,flags,options)
-
- FUNCTION
-
- It is an interface for the AmigaDOS command "Protect",
- that must be present into the commands paths.
-
- INPUTS
-
- file - May be a single file/dir path name, or a pattern
- (eg: "libs:rex#?").
-
- flags - Any combination of "AHPSRWED"
-
- A - Archived
- H - Hidden
- P - Pure
- S - Script
- R - Readable
- W - Writeable
- E - Executable
- D - Deletable
-
- options - "Add/S,Sub/S,All/S"
-
- "Add/S" - The specified "flags" must be added for the
- given "file".
-
- "Sub/S" - The specified "flags" must be substracted
- for the given "file".
-
- "All/S" - Specifying a directory as "file" and giving
- this keyword, the "flags" will be changed
- for every file into that directory and its
- sub-directories.
-
- RESULT
-
- boolean, 1 mean "all done".
-
- EXAMPLE
-
- CALL 'dos/Protect'("rexx:","S",'Add All')
-
- NOTES
-
- TODO
-
- BUGS
-
- In case of errors the module don't give any information about
- which was the cause of failure.
-
- SEE ALSO
-
- dos.library/SetProtection()
-
- dos/Relabel() dos/Relabel()
-
- $VER: dos/Relabel 1.00 (17.Jan.1997)
-
- NAME
-
- dos/Relabel()
-
- SYNOPSIS
-
- success = 'dos/Relabel'(drive,name)
-
- FUNCTION
-
- It is an interface for the AmigaDOS command "Relabel",
- that must be present into the commands paths.
-
- INPUTS
-
- drive - A valid drive name (DF0:, HD0:, RAM:,...).
- Must be available and mounted in the system.
-
- name - The new name for the given drive, without the
- trailing ":" (Work, Mail, Empty,...). The function
- removes any trailing ":" from the given name.
-
- RESULT
-
- boolean, 1 mean "all done".
-
- EXAMPLE
-
- IF ~'dos/Relabel'("RAM:","Ram") THEN
- SAY "Sorry, an error was occurred."
- ELSE SAY "Ram disk relabeled..."
-
- NOTES
-
- TODO
-
- BUGS
-
- In case of errors the module don't give any information about
- which was the cause of failure.
-
- SEE ALSO
-
-
-