Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
makesfx.com
Package: unzip540.zip [view]
Upload User: andy_li
Upload Date: 2007-01-06
Package Size: 1019k
Code Size: 1k
Category:
Compress-Decompress algrithms
Development Platform:
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