ppsspp/Windows/zipup.cmd

24 lines
438 B
Batchfile

@echo off
if "%1"=="" GOTO BADINPUT
REM Make sure to call this with a .zip file extension for the first parameter.
REM If zip.exe is not installed, get it from info-zip.org.
set name=%1
echo Deleting old file %name%
del %name%
echo Adding files to %name%
zip --recurse-paths %name% assets flash0 PPSSPPWindows.exe PPSSPPWindows64.exe README.md
echo Done: %name%
goto DONE
:BADINPUT
echo Usage: Windows\zipup.cmd myfile.zip
:DONE