Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
i want to create file into each folder of my D: drive.

i know how to create file but how to enter into folder without know folder name.
Posted

The below links explain how to get the file names in a folder. Hope this helps
directory-getfiles[^]
recursive-file-list[^]
 
Share this answer
 
v2
Comments
[no name] 31-Aug-12 7:27am    
can you tell me how to create file into all folder, and all sub folder also?
you have to create a variable. For example:

string uri;

when the user or some event gives you the url of the folder you put the value into the variable and use it.
 
Share this answer
 

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