如何使 window sdk 的 setenv.cmd 全局工作,而不是单个 cmd 窗口?
问候, 我觉得问这个有点愚蠢,但我想设置 Windows sdk 构建环境,以便任何进程(包括一些非 MS 开发人员工具)都可以访问正确的设置,而无需我尝试将 setenv.cmd /x86 注入每个进程的启动中。
我似乎无法为此找到正确的搜索词,并且我不想手动选择各种 exes 和目录以将它们包含在路径中。
有没有办法让setenv.cmd影响整个windows环境? (xp)
最好的问候 塞雷夫
Greetings,
I feel kinda stupid for asking this, but I want to set the windows sdk build environment so that any process (including some non MS developer tools) can access the correct setup, without me trying to inject setenv.cmd /x86 into every process's startup.
I can't seem to find the right search terms for this, and I don't want to hand pick various exes and dirs to include them in the path.
Is there a way to make setenv.cmd effect the whole windows environment? (xp)
Best Regards
Seref
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这也不是不可能,你可以使用控制面板+系统并添加.cmd文件设置的环境变量。但这样做会带来一些麻烦的后果:
我很确定你最终会为这样做而深深后悔。
It isn't impossible, you could use Control Panel + System and add the environment variables set by the .cmd file. Doing so has several troublesome consequences though:
I'm pretty sure you'll deeply regret doing this, eventually.