Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set desktopsave=1
- if not exist a:\ goto updatenow
- if "%cd%" equ "A:\" goto updatenow
- echo DELUX SHAVE was designed to be saved on a floppy disk.
- echo Would you like to save there?
- choice /c yn /n /m "Save to floppy (Y/N):"
- if %errorlevel% equ 1 set orgupdate=%cd%\update.bat
- if %errorlevel% equ 1 cd /d a:\ & set desktopsave=0
- echo Saving to %cd%...
- if %desktopsave% equ 1 cd /d %homedrive%\%homepath%\desktop
- :updatenow
- echo DELUX SHAVE is now downloading (or updating who knows?)...
- echo Attempting to update without internet access will cause DELUX SHAVE to be wiped...
- echo Starting download at: %date% %time%
- powershell -command "(new-object System.Net.WebClient).DownloadFile('https://pastebin.com/raw/HM2iKjRz', 'DS.bat')"
- if exist ds.bat del %orgupdate% & call ds.bat
- if not exist ds.bat echo Finished at: %date% %time% without downloading... & echo Try checking your internet connection and trying again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement