home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HTML - Publishing on the Internet
/
html_cdrom.iso
/
tools
/
konvert
/
windows
/
office
/
makeexe.bat
< prev
next >
Wrap
DOS Batch File
|
1996-04-15
|
974b
|
34 lines
Rem **************************************************************
Rem makeexe.bat
Rem Copyright (C) Microsoft Corp. 1996
Rem This batch file does the following :
Rem (1) calls diamond.exe to build a compressed archive file (disk1\1.cab)
Rem from list of files in cabinet.ddf
Rem (2) concatenates unpack.exe with the .cab file to create the named
Rem self-extracting .exe
Rem (3) deletes .cab file
Rem **************************************************************
if NOT exist unpack.exe goto :error3
Rem Make cabinet from ddf. --------------------------------
diamond /V3 /F cabinet.ddf
if NOT exist disk1\1.cab goto :error4
del *.rpt
del *.inf
Rem create self extracting exe from cabinet---------------
Rem change selfext.exe to desired path and filename
copy /B unpack.exe + disk1\1.cab selfext.exe
del disk1\1.cab
rmdir disk1
goto :out
:error3
echo unpack.exe not found
:error4
echo disk1\1.cab could not be created
:out