获得路径的.exe我 [英] get path for my .exe
本文介绍了获得路径的.exe我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能让我的.exe文件的路径,因为如果我复制我的.exe我能得到我的新路径?
解决方案
System.Reflection.Assembly.GetEntryAssembly()位置。
how can I get my .exe path because if I copy my .exe I can get my new path ?
解决方案
System.Reflection.Assembly.GetEntryAssembly().Location;
这篇关于获得路径的.exe我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文