SetAttr

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)

CodeFunctionName What is this?

Public

Not Tested

Original Work

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 Bold.codes

Linkedin Login

pathname_MapPathed, attributes

SetAttr server.mappath("/New Folder"), vbHidden
SetAttr "C:\New Folder", 2

Views 4,720

Downloads 1,557

CodeID
DB ID