Use the Microsoft PathManager.Exe?

It has pretty simple way of adding to user or system environment, and also some sanity-check of the path. For your Windows 2000 needs it might replace your use of WINSET... [Smile]