Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, Im programming on a Smart Device Project on C# (visual studio 2008).
Now I need to get a directories list or files list of some folders and I dont know whats the syntax of that command. can you help me plz?

UPD: in C# Windows Form Application the command is this:
string[] a = Directory.GetDirectories(@"C:\test");
but it didnt work on Smart Device Project.
Posted
Updated 18-Aug-13 2:56am
v2
Comments
Status BreakPoint 18-Aug-13 20:57pm    
I believe that smart device doesn't have drive. You may use @"\test".
AmirAli1374 19-Aug-13 6:23am    
oh god! you are right! thank you so much! it worked!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900