开发者

How do I know where "Program Files" are?

I'm working on a custom installer / launcher in pure Java. How can I tell the path to开发者_如何转开发 "Program Files" or its equivalent?


By calling the following:

System.getenv("ProgramFiles");

will give the path of the programfiles folder in Windows operating system.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜