Skip to content

FroggDev/BATCH_add2path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

BATCH_add2path

A simple script to add path to Xindows PATH

Script call without argument :

add2path.bat will add to the PATH the DefaultList defined in the file

set DefaultList=C:\dev\bin\git\bin C:\dev\bin\php C:\dev\bin\composer C:\dev\bin\ruby\bin C:\dev\bin\node

Script call with arguments:

add2path.bat C:\dev\bin\git\bin C:\dev\bin\php will add to the PATH the arguments list

Specificities :

  • Check if the path already exist in the PATH (add only new path to PATH)
  • Check if folder exist phisically before trying to add to the PATH
  • Pause display to prevent accidental use of the script

About

A simple script to safely add path to Windows PATH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors