blob: fd4d451c9a32e428fbc0b6725ae6209e578e8ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
@echo off
@rem Ensure this Node.js is first in the PATH
set PATH=%~dp0;%PATH%
@rem Figure out architecture and print it.
setlocal
for /F "usebackq delims=" %%v in (`"%~dp0"node.exe -p -e process.arch`) do set arch=%%v
echo Your environment has been set up for using Node.js (%arch%) and NPM
endlocal
@rem Go to the user's home directory
cd /d %HOMEDRIVE%"%HOMEPATH%"
|