windows PATH not working for network drive

Posted by Brendan Abel on Super User See other posts from Super User or by Brendan Abel
Published on 2011-02-11T05:34:51Z Indexed on 2011/02/11 7:27 UTC
Read the original article Hit count: 518

Filed under:
|
|
|
|

I'm using an autorun.bat to append some directory paths to the Windows PATH variable so that I can use a few tools and bat scripts within cmd.exe

I'm running into a problem where the above isn't working on a network drive.

Ex.

Using a program called mycmd.exe

Ex.1 (this works)

C:\folder\mycmd.exe

SET PATH=%PATH%;C:\folder

Ex. 2 (doesn't work)

H:\folder\mycmd.exe

SET PATH=%PATH%;H:\folder

© Super User or respective owner

Related posts about windows-7

Related posts about batch