Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
MarshB
15
Years of Service
User Offline
Joined: 29th Nov 2010
Location:
Posted: 29th Nov 2010 13:37
Hey Guy's, anyone know of a way to read and change file attributes ?
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Nov 2010 13:57
Not that I know of. I just took a look at Matrix Utility commands but couldn't find anything there.

Which attributes are you wanting to change? There might be a windows dll you can access them with...

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Nov 2010 15:06
You won't find anything in my plug-ins for file attributes because I don't see any point in supporting them. If someone can come up with a reason that I agree is a good one, then I'd consider it.

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet
MarshB
15
Years of Service
User Offline
Joined: 29th Nov 2010
Location:
Posted: 29th Nov 2010 15:34
IanM, cant think of any good reasons either, other than selfish one's,
I am playing around with an old style file commander, in the XTGold fashion and need to read the file attributes, just thought someone may have or know of an existing dll. not asking anyone to write one as you said, no good reason.

Thanks Mate.
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 29th Nov 2010 16:43
The only things I can think of is using the file attributes to hide the files from the user to prevent them from editing any data that may be in .txt files. And/or the file can also be changed to a system file so it prevents the user from deleting the file even if it's not hidden (which also prevents deletion).

Login to post a reply

Server time is: 2026-07-21 13:38:38
Your offset time is: 2026-07-21 13:38:38