2010-07-01 48 views

回答

0

您可以使用密钥HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths的子项。有关详细信息和其他方式,请参阅Adding a Application specific paths, so it works from the command line in WindowsUse registry to startup a program, and also change the current working directory?

+0

谢谢,但为了便于携带,我宁愿不使用Windows注册表。 – gregseth 2010-07-01 13:32:55

+0

更改环境变量与平台相关。如果你解释你的申请将如何开始,我可以给你另外的建议,但是你在你的问题中写的信息太少。 – Oleg 2010-07-01 13:56:06