title: How to automate batch command file for globally installed package?
body: <p>Good day!, I don't know if my question is correct. but what happens here is I created my own local development environment with the portable binaries. Please see:</p>
  <p><a href="https://i.stack.imgur.com/SuNno.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SuNno.png" alt="enter image description here" /></a></p>
  <p>Everything is working fine except for NPM. Everytime I install a global package in NPM I first need to create a batch file to call the .cmd from the node directory.</p>
  <p>E.g. After installing Angular CLI, I need to create a batch file pointing to the ng.cmd file. Please see: (node directory)</p>
  <p><a href="https://i.stack.imgur.com/7Jki4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Jki4.png" alt="enter image description here" /></a></p>
  <p>And here is my ng.bat file in the cli folder: (cli directory)
  <a href="https://i.stack.imgur.com/MBm7l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MBm7l.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/wDpJG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wDpJG.png" alt="enter image description here" /></a></p>
  <p>The reason why I did this because I don't want to mess up my windows PATH environment settings. Here is my PATH variables where I already added my cli folder:</p>
  <p><a href="https://i.stack.imgur.com/Xf54T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xf54T.png" alt="enter image description here" /></a></p>
  <p>Is there a way of automating these? instead of creating manually a batch file in my cli folder every time I add a new package or binaries?</p>
  <p>Best Regards</p>