how to retrieve sub directorires under a specified directory
Managed C++/CLI
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, I need to retrieve ALL subdirectories under a specified directroy in my C++ program. Could anyone please tell me how to do this. Thanks cy163
-
Hello, I need to retrieve ALL subdirectories under a specified directroy in my C++ program. Could anyone please tell me how to do this. Thanks cy163
You can with one of the overloads of Directory::GetDirectories specify AllDirectories if you want it to work recursively, (or organize a recursion yourself if you are still on .NET 1.x) :)
Luc Pattyn [My Articles] [Forum Guidelines]