home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
z
/
zip2new1.zip
/
ZIP2NEW.BAT
< prev
Wrap
DOS Batch File
|
1993-01-07
|
871b
|
38 lines
@echo off
cls
if %1!==! goto error
if %2!==! goto error
set a=%1
set b=%2
echo Welcome to the PKZip Converter! 1.0
echo This program will convert PKZipped files on a floppy disk
echo to whichever version of PKZip you have on the path.
echo.
if exist %b%:\xxxx\*.* goto error2
pause
%b%:
cd\
md\xxxx
%a%:
FOR %%c IN (*.zip) DO call convert %%c
%b%:
cd\
rd\xxxx
goto end
:error
echo Welcome to the PKZip Converter! 1.0
echo To Convert: Type "Zip2new" followed by the drive letter
echo where the files you would like to convert reside and
echo the drive letter of your hard drive.
echo Ex: Zip2new a c
goto end
:error2
echo MAKE SURE YOU DO NOT HAVE A DIRECTORY NAMED "XXXX"
echo ON YOUR HARD DRIVE!!
echo ALL YOUR DATA WILL BE LOST!!
:End