Jump to content
Sign in to follow this  
legend

write to system hidden file?

Recommended Posts

legend

Hi, for some reason, I can't write to a file that is system hidden, but if it's not system hidden, it works fine

#include 

FileSetAttrib(@scriptdir & "\includes\config.conf", "+SH")

_FileWriteToLine(@scriptdir & "\includes\config.conf", 3, "test, 1)

this does not work, someone knows a way around it, and if its possible?

Share this post


Link to post
Share on other sites
legend

nvm, it's not possible, solution is to unhide it, write to it, and hide it again

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×