Want to create directory path in hidden dir tree AppData

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im trying to create an application local directory in the CSIDL_LOCAL_APPDATA tree, but SHCreateDirectoryEx fails because Vista has made AppData hidden.  And all parts of the path must be visible or you get an ERROR_CANCELLED.

Do I have to reinvent this wheel?
    (that is iterate the path string, testing and creating each subdir)

Is there a simpler way? 

Dave.

View the full article
 
Back
Top