Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >log.txt (
- call npm list -g download
- if ERRORLEVEL 1 (
- npm install -g download
- )
- "C:\Program Files\7-Zip\7z.exe" x nwjs-v0.12.1-win-x64.zip > nul
- REM first cd command into subfolder
- cd nwjs-v0.12.1-win-x64
- echo %cd%
- "C:\Program Files\7-Zip\7z.exe" x sg.zip > nul
- REM second cd command into subfolder of first subfolder
- cd sg
- echo %cd%
- REM third and fourth cd commands back up to where we started
- cd ..
- echo %cd%
- cd ..
- echo %cd%
- rd /s /q nwjs-v0.12.1-win-x64
- REM all four echo %cd% commands print the same thing (folder where we started)
- )
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement