mycomputer .exe文件的名称是什么? [英] what is the name of mycomputer .exe file?
本文介绍了mycomputer .exe文件的名称是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要打开记事本,我们需要像这样编写其exe文件
To open a notepad, we write its exe file like this
Process.Start("IExplore.exe");
>
同样,我想知道计算机的exe文件名,文档和回收站.
Similarly i want to know the exe file names of my computer, my documents and recycle bin.
推荐答案
使用Environment.SpecialFolder
参见此处:
http://msdn.microsoft.com/en-us/library/system.environment. specialfolder.aspx [ ^ ]
UseEnvironment.SpecialFolder
see here :
http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx[^]
要打开我的电脑",请使用
To open My computer use
Process.Start("explorer.exe"); and pass parameters /n, /e,
要打开我的文档",请使用
To open My Documents use
Process.Start("explorer.exe");
>
这篇关于mycomputer .exe文件的名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文