开发者

Win32 SETX command hangs sometimes

I am using the resource kit on WinXP and sometimes the SETX command hangs with simple variable assignments. Why is 开发者_开发百科this and how can I avoid it?

e.g. setx x x


Ok, solved it.

SetX that you may download from the Support Tools may hang on CERTAIN XP. Don't know why, but it appears to be bugged.

Please, use the Windows 2000 SetX command instead that you may download here (direct link to .exe).


This will only work on win7: SETX /M TEMP C:\TEMP (Will set a variable "/M" containing "TEMP" on WinXP)

This will work as expected on both winXP and Win7: SETX -M TEMP C:\TEMP

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜