added path to path dir but exe does not work

H

Hassan

I dont want to reboot my box and I have a lot of jobs that call an exe that
should be in the path. So i added the path manually in "environment
variables" in the path dir, but the only way I know this will work is if i
reboot the box. Is there another way to do this without rebooting ?

Thanks
 
P

Pegasus \(MVP\)

Hassan said:
I dont want to reboot my box and I have a lot of jobs that call an exe that
should be in the path. So i added the path manually in "environment
variables" in the path dir, but the only way I know this will work is if i
reboot the box. Is there another way to do this without rebooting ?

Thanks

This is not correct. Environmental variables such as the path
become effective immediately, without rebooting, for all
newly started processes. However they won't be visible
for pre-existing processes.

If possible you should specify the complete path for your
executables instead of relying on the %path% environmental
variable.
 
P

Phil Robyn

Hassan said:
I dont want to reboot my box and I have a lot of jobs that call an exe that
should be in the path. So i added the path manually in "environment
variables" in the path dir, but the only way I know this will work is if i
reboot the box. Is there another way to do this without rebooting ?

Thanks

Your change should take effect if you just log off and log back on again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top