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 Mydev.net

Linkedin Login

Parameters

pathname_MapPathed, attributes

Examples

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

Permanenet link

Statistics

Views 4,720

Downloads 1,557

IDs

CodeID
DB ID