摘要:
在运行中,输入 Explorer /select,C:\Windows\System32\cmd.exe 达到打开文件夹并选择文件夹内的一个文件的目的 http://hi.baidu.com/liyi93/item/2508abfc821a654f922af242打开文件所在位置并且选中这个文件 publicvoidExplorerFile(stringpath){System.Diagnostics.Process.Start("explorer.exe",@"/select,"+path);}打开文件夹 publicvoidExplorerDirec 阅读全文
posted @ 2013-11-21 23:59
XE2011
阅读(324)
评论(0)
推荐(0)
摘要:
附件:http://files.cnblogs.com/xe2011/TreeView_Drag_Directory%E6%93%8D%E4%BD%9C.rarTREEVIEW拖拽对应修改目录usingSystem.IO; privatestaticstringRootPath=@"D:\Administrator\Documents\TestData";//返回D:\Administrator\DocumentsprivatestringmyPath=GetDirectoryParentPath(RootPath);privatevoidForm1_Load(object 阅读全文
posted @ 2013-11-21 15:29
XE2011
阅读(298)
评论(0)
推荐(0)

浙公网安备 33010602011771号