06-03-2003, 02:18 PM
I don't remember how can Qbasic remove any file protection ... ?
I mean READ or WRITE protection
I mean READ or WRITE protection
Files protection
|
06-03-2003, 02:18 PM
I don't remember how can Qbasic remove any file protection ... ?
I mean READ or WRITE protection
06-03-2003, 02:55 PM
You mean readonly files?
You can remove the readonly attribute like this: Code: '$INCLUDE:'QB.BI'
06-04-2003, 04:28 AM
THX Neo
Antoni ?? What do you mean ? I don't know these DOS's Attributes
06-04-2003, 07:37 AM
In DOS commandline...
ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H][[unit:][path]fliename][/S] ...where... +R sets READONLY attribute, -R removes it +A sets ARCHIVE attribute (read/write flag), -A removes it +S sets SYSTEM attribute, -S removes it +H sets HIDDEN attribute, -H removes it ...and... /S to process files in the current directory/folder and in all its subdirectories. So, in your case: SHELL "ATTRIB -R filename.ext" ...and that's all.
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
06-04-2003, 01:06 PM
I prefer my code, else I would have a black screen coming through my program at every SHELL call.
|
« Next Oldest | Next Newest »
|