Read the shortcut property. It simply executes cmd.exe with an argument that executes the .bat file, and then returns to the prompt.
C:\Windows\System32\cmd.exe /k "C:\Program Files\nodejs\nodevars.bat"
All he does is make sure the path is properly configured to use node and npm. I never had to use this because my path was already set up to include these paths already (probably you too.)
source share