quote:
Try

code:
--------------------------------------------------------------------------------

Shell "%comspec% /c /e:1024 reg add HKCU\Environment\REG_LET=$REG_LET > NUL"

--------------------------------------------------------------------------------

I did, and I got an error about syntax. I looked a little closer and realized that on the Windows 2000 box I am using, the syntax is different.
/E from the good ol' DOS days used to let you set the size of the environment, however, with the W2K cmd.exe /E turns command extensions on/off.
So its /E:On or /E:OFF

Once I removed th /E argument it worked.

Thanks