使用C#读取和显示文件和文件夹 [英] Read and display files and Folders using C#
本文介绍了使用C#读取和显示文件和文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨Frnds,
在Windows应用程序中,我需要阅读我的文件和文件夹....
例如:我拥有E盘,因为我正在保存A,B,C,D,E,F等文件夹...
A的子文件夹是A1,A2,A3等... A1的子文件夹是A1_1,A1_2 ...等
如果我只是在3个三个文本框中输入A,A1,A1_2 ....我需要在Windows应用程序中复制或打开该A1_2文件夹...如何操作...帮助我
Hi Frnds,
In Windows application I need to read my Files and Folders....
For Eg.: I am Having E Drive in that i am Saving Folders like A,B,C,D,E,F, etc...
Subfolder of A is A1,A2,A3 etc...Subfolder of A1 is A1_1,A1_2...etc
if i just enter in 3 three textboxes as A , A1 , A1_2 ....i need to copy or open that A1_2 folder in Windows application...How to do it...Help Me
推荐答案
尝试
http://www.dotnetperls.com/directory-getfiles [ http://www.developerfusion.com/code/4359/listing-files -folders-in-a-directory/ [ http://www.csharp-examples.net/get-files-from-directory/ [ ^ ]
Try
http://www.dotnetperls.com/directory-getfiles[^]
http://www.developerfusion.com/code/4359/listing-files-folders-in-a-directory/[^]
http://www.csharp-examples.net/get-files-from-directory/[^]
这篇关于使用C#读取和显示文件和文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文