- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
makesfx.com
资源名称:unzip540.zip [点击查看]
上传用户:andy_li
上传日期:2007-01-06
资源大小:1019k
文件大小:1k
源码类别:
压缩解压
开发平台:
MultiPlatform
- $!
- $! MAKESFX.COM: command-procedure to create self-extracting ZIP archives
- $! usage: @MAKESFX foo (foo.zip -> foo.exe)
- $!
- $! Martin P.J. Zinser 940804
- $!
- $!
- $! For this to work a symbol unzipsfx has to be defined which contains the
- $! location of the unzip stub (e.g., unzipsfx:== device:[dir]unzipsfx.exe)
- $!
- $! The zipfile given in p1 will be concatenated with unzipsfx and given a
- $! filename extension of .exe. The default file extension for p1 is .zip
- $!
- $! Use at your own risk, there is no guarantee here. If it doesn't work,
- $! blame me (m.zinser@gsi.de), not the people from Info-ZIP.
- $!
- $!
- $ inf = "''p1'"
- $ usfx = f$parse("''unzipsfx'") - ";"
- $ file = f$parse("''inf'",,,"DEVICE") + f$parse("''inf'",,,"DIRECTORY") + -
- f$parse("''inf'",,,"NAME")
- $ finf = "''file'" +f$parse("''inf'",".ZIP",,"TYPE") + -
- f$parse("''inf'",,,"VERSION")
- $!
- $! [GRR 940810: what is the point of 'name'? example? commented out...]
- $! $ name = f$extract(12,2,f$time()) + f$extract(15,2,f$time()) + -
- $! f$extract(18,2,f$time()) + f$extract(21,1,f$time())
- $!
- $ copy 'usfx','finf' 'file'.exe
- $ if zip .nes. "" then
- $ zip -"A" 'file'.exe
- $ exit