Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: XDelusion on February 16, 2011, 05:17:17 AM
-
What are the options for the protect command? How do I protect and unprotect single files, also how do I protect and unprotect entire folders?
-
for a single file, it should just be PROTECT [file]
so PROTECT HDD:stuff/pornstash/URMOM -d (to prevent deletion)
this is in 3.1 anyways
-
And how do I unprotect files and folders?
-
you set or remove protection bits with + and - (or ADD / SUB )
Please test this on some junk file first though ;)
-
Try (for example)
protect dhx:rootpath/#? RWED to set the file to be able to read, write, edit, delete all files and folders contained from dhx:rootpath. Adding minus before the flags (RWED) I believe will disallow those options from the file.