Your script works as expected. In regard to the Edit Environment Variable command, didn't see anything different than what I have in mine. The difference is that it still doesn't work. There must be something else in the script that is causing the problem, and I'll continue to search for it. It's frustrating because it's a straight-forward command and just not that complicated. Yet, something is causing it to add another PATH variable instead of just placing it in front of the existing PATH variable. When I look at where the environment variables are held in the registry (HKLM\System\CurrentControlSet\Control\Session Manager\Environment, there are two path values after I run my script. Very odd. Thanks for the assistance.