Sets an attribute to file or folder
Needs to have variables defined as you see in code below.
Needs the MapPath version of a file/folder
Assumes file if a . was found in filename, if not, it assumes it is a folder (might need some work here)
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com
Linkedin Loginpathname_MapPathed, attributes
SetAttr server.mappath("/New Folder"), vbHidden
SetAttr "C:\New Folder", 2
SetAttr "C:\New Folder", 2
Views 4,717
Downloads 1,557
CodeID
DB ID
![](/Assets/img/_load903.gif)