Attrib

Blitz3D Forums/Blitz3D Userlibs/Attrib

wedoe(Posted 2006) [#1]
Anyone done an "ATTRIB" userlib ?


Steven Noyce(Posted 2006) [#2]
What does ATTRIB mean?


KuRiX(Posted 2006) [#3]
I think he wants to use the old attrib from ms-dos to change file permissions...
You can use the exec with the original attrib.exe as parameter!


wedoe(Posted 2006) [#4]
I think he wants to use the old attrib from ms-dos to change file permissions...
That's right :)

You can use the exec with the original attrib.exe as parameter!
Could you elaborate a little bit please ?


jfk EO-11110(Posted 2006) [#5]
I think he means eg.
ExecFile "attrib myfile.txt -H"

tho maybe this won't work, maybe you need to use the msdos prompt like this:

execfile "command attrib myfile.txt -h"

-h stands for the settings, see msdos help about ATTRIB.


wedoe(Posted 2006) [#6]
Thanks JFK, I shall try your approach :)

I always wondered why there's no file-rename
and file-attrib command i BB.....