-
January 9th, 2011, 07:07 PM
#1
listing folders and files on windows 7?
Im creating a folder and file list for a music application im writing.
At the moment im using code from this webpage here http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx
it uses FindFirstFile.
Problem is it wont list the contents of "special" folders like "Documents and settings" and "My Documents".
What can I do, completly stuck.
-
January 10th, 2011, 02:55 AM
#2
Re: listing folders and files on windows 7?
You can't read them, because they are not normal folder but junction points, pointing to a location in the Users folder. They have the file attributes set to FILE_ATTRIBUTE_REPARSE_POINT and FILE_ATTRIBUTE_SYSTEM and the ACL’s are set to "Everyone Deny Read".
You can read more here: http://msdn.microsoft.com/en-us/library/bb756982.aspx.
Last edited by cilu; January 10th, 2011 at 02:59 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|