P
Peteroid
Assuming you have the default directory settings, try this code:
String^ full_path = "c:\\Users\\Owner\\Documents" ;
array<String^>^ dir_list = Directory::GetDirectories( full_path ) ;
In my case, it returns all the directories as it should in dir_list, but it
also returns the following non-existent (hidden?) directories:
My Music
My Pictures
My Videos
If I try to Directory::GetFiles( ) on any of these directories it throws an
exception, but it will successfully return the files of those directories
which are visible or do exist.
If I do a 'search' for any directories with those names, they are not found.
I have a Windows Vista machine, and I'm programming in VS VC++ 2008 Express
(Beta 2) /cli pure.
What is going on here?
String^ full_path = "c:\\Users\\Owner\\Documents" ;
array<String^>^ dir_list = Directory::GetDirectories( full_path ) ;
In my case, it returns all the directories as it should in dir_list, but it
also returns the following non-existent (hidden?) directories:
My Music
My Pictures
My Videos
If I try to Directory::GetFiles( ) on any of these directories it throws an
exception, but it will successfully return the files of those directories
which are visible or do exist.
If I do a 'search' for any directories with those names, they are not found.
I have a Windows Vista machine, and I'm programming in VS VC++ 2008 Express
(Beta 2) /cli pure.
What is going on here?