摘要:
string appPath=Path.GetDirectoryName("文件路径") ; // 获取文档的目录 string str1=Directory.GetParent(appPath).FullName; // 目录的父 string str2=Directory.GetParent(a 阅读全文
posted @ 2023-04-14 11:10
꧁执笔小白꧂
阅读(237)
评论(0)
推荐(0)
摘要:
string dir = Environment.GetFolderPath(Environment.SpecialFolder.CommonPictures); // 图片 string dir = Environment.GetFolderPath(Environment.SpecialFold 阅读全文
posted @ 2023-04-14 10:43
꧁执笔小白꧂
阅读(1182)
评论(0)
推荐(0)
摘要:
DirectoryEntry rootfolder = new DirectoryEntry("IIS://localhost/W3SVC/1/ROOT"); // IIS://服务器的名字/要操作的Web服务器类型/站点/站点的虚拟目录 1、创建对象: 2、修改对象: #region 1、利用Di 阅读全文
posted @ 2023-04-14 09:28
꧁执笔小白꧂
阅读(177)
评论(0)
推荐(0)

浙公网安备 33010602011771号