Your user profile folder is located in the Users folder on your Windows system drive, which on most computers is C:.
linux | Windows CMD | Windows PowerShell |
~ | echo %USERPROFILE% | $env:USERPROFILE |
Create a dir
linux | Windows CMD | Windows PowerShell |
mkdir ~/projects cd ~/projects | mkdir %USERPROFILE%\projects cd %USERPROFILE%\projects | mkdir $env:USERPROFILE\projects cd $env:USERPROFILE\projects |
Create a variable and run
linux | Windows CMD | Windows PowerShell |
DEBUG=value node app.js
| set DEBUG=value & node app.js | $env:DEBUG='value' ; node app.js
|