Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing File Attributes
#1
Can I change file attributes (hidden or readonly) in QM ??
#2
Macro
Code:
Copy      Help
SetAttr "$desktop$\test.txt" FILE_ATTRIBUTE_HIDDEN 1 ;;add hidden attribute
SetAttr "$desktop$\test.txt" FILE_ATTRIBUTE_READONLY 1 ;;add readonly attribute
5
SetAttr "$desktop$\test.txt" FILE_ATTRIBUTE_HIDDEN 2 ;;remove hidden attribute
SetAttr "$desktop$\test.txt" FILE_ATTRIBUTE_READONLY 2 ;;remove readonly attribute
#3
Great !!!! Works fine

Thank You


Forum Jump:


Users browsing this thread: 1 Guest(s)