summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat')
-rwxr-xr-xBuild/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat b/Build/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat
new file mode 100755
index 00000000000..b0bc8688def
--- /dev/null
+++ b/Build/source/libs/zziplib/zziplib-src/msvc7/zzipself.bat
@@ -0,0 +1,18 @@
+@echo off
+rem DOS pkzip.exe does not work under WinXP !
+rem instead using infozip zip.exe
+
+IF EXIST zzipselftest%1.zip del zzipselftest%1.zip
+echo zip -0 zzipselftest%1.zip zzipself%1.exe
+ zip -0 zzipselftest%1.zip zzipself%1.exe
+echo zip -9 zzipselftest%1.zip zzipself.txt
+ zip -9 zzipselftest%1.zip zzipself.txt
+echo zzipsetstub%1.exe zzipselftest%1.zip zzipself%1.exe
+ zzipsetstub%1.exe zzipselftest%1.zip zzipself%1.exe
+echo rename zzipselftest%1.zip zzipselftest%1.exe
+IF EXIST zzipselftest%1.exe del zzipselftest%1.exe
+ ren zzipselftest%1.zip zzipselftest%1.exe
+
+REM testrun:
+echo now testing zzipselftest%1.exe
+zzipselftest%1.exe zzipself.txt