Click to See Complete Forum and Search --> : EDIT FILE PROPERTIES


meske
June 13th, 2001, 04:41 AM
Hi !
I need Help !
Is that possible to edit file Properties in VBS or VB ?
example : change date modified property of a file ...
THX !

Cubbie
June 13th, 2001, 06:44 AM
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