Hi !
I need Help !
Is that possible to edit file Properties in VBS or VB ?
example : change date modified property of a file ...
THX !
Printable View
Hi !
I need Help !
Is that possible to edit file Properties in VBS or VB ?
example : change date modified property of a file ...
THX !
To just set an attribute use the SetAttr Statement
Dim FilePath as string
FilePath = some file path
' set attribute to read-only
SetAttr FilePath, vbReadOnly
To modify a file creation, access or modification time use the SetFileTime API