如何检查文件夹中是否是另一个并获得它的路径! [英] how to check if in a folder ther is another and get the path of it!

查看:58
本文介绍了如何检查文件夹中是否是另一个并获得它的路径!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个程序,它读取给定文件夹路径的文件夹的权限...但是当在其他文件夹中时,其他人我有一个问题。是否有一个ancy类,如果在一个文件夹中有其他人并且让我得到它的路径,那么就会让我感到震惊?

I am doin a program which reads the privileges of a folder given the path of a folder... but when within that folder ther are others i have a problm. Are there ancy classes which shomw me if within a folder there are others and get me the paths of thet??

推荐答案

尝试Directory.GetDirectories [ ^ ] - 重载版本允许您指定所有子目录。
Try Directory.GetDirectories[^] - the overload version allows you to specify all subdirectories.


这篇关于如何检查文件夹中是否是另一个并获得它的路径!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆