If I isuue the following command directly from a command prompt:

reg add HKCU\Environment\REG_LET=$REG_LET > NUL

It properly redirects the output to NUL. In this case the reg add gives an error message if the key already exists.

However, if from within the kix script I issue the command:
Shell "reg add HKCU\Environment\REG_LET=$REG_LET > NUL"
It is not properly redirecting it to NUL. Instead, the reg.exe is thinking that the > NUL is part of one of its arguments.

Isn't the shell function simply issuing the same command as if I typed it in manually?

*Waiting for the Apple to hit him in the head*
-Duncan