Avatar of OCUBE
OCUBE
Flag for United States of America

asked on 

HOW TO SET PATH USING BAT FILE

How can we set a path permanently using .BAT  file.


I wanted to add a folder bin directory to the existing PATH in my system variables, how can I do this using BATCH(.BAT) file  ?

I don't want this as a runtime variable, it needs to be set permanently using the .BAT file.

Example:-  My current PATH=c:\windows;c:\windows\etc;

I wanted to add   C:\ABC\BIN  to the above path and make the

PATH=c:\windows;c:\windows\etc;c:\abc\bin



Let me know


Java

Avatar of undefined
Last Comment
neko69

8/22/2022 - Mon