Skip to content

windows_updatepath.bat: Batch file for updating the environment path variable by writing directly to the registry.

Notifications You must be signed in to change notification settings

ogginger/windows_updatepath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

updatepath.bat

Takes two arguments- first, the path you wish to add and secondly a '-d' flag if you want to delete that path.

updatepath will not add or delete the paths if they do or do not exist respectively.

Ex. updatepath "C:\Users\Me\Documents\bin\" will add it to the path if it doesn't already exist.
Ex. updatepath -d "C:\Users\Me\Documents\bin\ will remove it if the path exists.

About

windows_updatepath.bat: Batch file for updating the environment path variable by writing directly to the registry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published