Hello!
Is there a way to set the attributes of a given file/folder using macroscheduler script?
I'm referring to Archive, Hidden, System and Read only.
Thank you.
Files and Folders Attributes
Moderators: JRL, Dorian (MJT support)
Use the DOS attrib function
Code: Select all
Let>Filename=C:\attribute_test.txt
Writeln>filename,wres,This is a test
//Set the attributes
Let>RP_WAIT=1
RunProgram>cmd /c attrib +A +R +H +S "%filename%"