home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / FOXPRO / FOXSQZ / FOXSQZ.DOC < prev    next >
Text File  |  1994-01-19  |  20KB  |  509 lines

  1.  
  2. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3.  
  4.                  F O X S Q Z  Version 1.5a  Jan 04, 1994
  5.  
  6. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  7.  
  8. Thank you for your interest and support of the FOXSQZ the complete 
  9. DataCompression System for Foxpro 2.0 & 2.5 for DOS & Windows !
  10.  
  11.  
  12.                         **** NOTE **** 
  13. This Evaluation Copy is intended for testing and evaluation Only!!!!.
  14. Please register for a full working copy of FOXSQZ. You can now
  15. register via Compuserve "GO SWREG" ID #1942
  16.  
  17.  
  18. Product Description
  19. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  20. FOXSQZ is a Compression System for DOS, Foxpro 2/2.5-DOS. & Foxpro/WINDOWS 
  21. FOXSQZ is a PLB file. A DOS command line version is part of this system as
  22. well. FOXSQZ utilizes two methods of Compression and Decompression . One is
  23. a fast method with good compresion. The other method provides much better
  24. compression at a little slower speed. FOXSQZ requires approx 40K of Foxpro
  25. Memory Resources for Compression and Decompression. FOXSQZ can selectively
  26. compress, decompress,list,delete files from .SQZ Archives. FoxSQZ Ensures
  27. Data integrity with a 16bit CRC code and can optionaly protect your data
  28. with password encryption.  Included with the package is a DOS or Windows PLB/FLL
  29. and a DOS executiable version..
  30.  
  31.  
  32. FOXSQZ Requirements
  33. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  34. 1)    FOXPRO 2.00 or 2.5b for DOS or Foxpro For Windows v2.5b.
  35.     (LAN and (X) versions also supported.)
  36. 2)    At least 40K Foxpro memory Free.
  37. 3)    The need to Compress your data ...
  38.  
  39.  
  40. FOXSQZ Support Files
  41. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  42. FOXSQZ.DOC              This File.
  43.  
  44. FOXSQZ.EXE                The DOS command line version of Foxsqz. Can be run
  45.                         from DOS of a DOS Box in Windows or OS/2 > v2.0 
  46.  
  47. FOXSQZ.PLB              Foxpro/DOS Library for Foxpro v2.5b (supports X version)
  48. FOXSQZ20.PLB            Foxpro/DOS Library for Foxpro v2.0     (supports X & LAN version)
  49.  
  50. FOXSQZ.FLL              Foxpro/WIN DLL for Foxpro v2.5b for Windows .
  51.  
  52.  
  53. DEMO.PRG                User Interface DEMO Source code for FOXPRO DOS & Windows
  54.                         requires SQZ.*
  55. SQZ.*                   User Screen Builder file for Interface Called by DEMO.PRG
  56.                         The interface is optional and not neccessary to use FOXSQZ
  57.  
  58. PATCH.EXE               Used to update Foxsqz when patches files are available.
  59.                         Patch files will be posted on Foxforum (3rd Party Lib)
  60.                         Or may be requested via Mail and self addressed Stamped
  61.                         Disk mailer and one 5.25 or 3.5" Diskette. 
  62.  
  63.  
  64.  
  65. Quick Start
  66. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  67. Foxsqz Includes an easy to use Non-programmer interface. To get started
  68. rightaway without reading further just DO DEMO.PRG ...
  69.  
  70.  
  71.  
  72. Revisions/Fixes  History
  73. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  74. April 20, 1993 1.0 Intial BETA 
  75. April 20, 1993 - October 1, 1992  FoxSqz Development put on Hold
  76. October 10, 1993 1.1 Development resumes and released second BETA
  77. Nov 10, 1993 1.2 
  78.     Windows Version joins in BETA 
  79.     Added Data Encryption .
  80.     Can now specify destination DIR for decompressed Files
  81.     Fixed problem with uppercase in options string.
  82.     Added SQZVERS() function to return FoxSQZ version..
  83.     Source of Arhive file for Decompression may be a in a memo Feild
  84.  
  85. Dec 8, 1993 1.3
  86.     Some minor bugs fixed.
  87.     Coded a workaround to API _Fread() problem. 
  88.     Fixed problem with Compressor when unable to open last file in FileSpec
  89.     Page Modifier in List Function Works in Foxpro/DOS when pageing in a Window.
  90.     Fixed problems with encrypter when specifing a password that is longer than the
  91.       orgignal and original len chars were the same in the pass specified
  92.       caused badlocal header error.. The encrypter was also trying to compress
  93.       blocks that did not compress was causing memory corruption errors
  94.  
  95. Dec 10, 1993 1.3d
  96.     Fixed problem when compressor tries to compress large files that do not
  97.     compress well like .ZIP files..
  98.  
  99. Dec 12, 1993 1.4 (RC1)
  100.     Added Exclusion File specifier X option
  101.     Added @ Inclusion operator
  102.     Full Encryption now enabled.
  103.     Final Beta (Release Candiate) before first production release ( I hope)
  104.  
  105. Dec 13, 1993 1.4a (RC2)
  106.     Options 'X' was letting MAX+1 exclusions Current MAX is 5 Exclusions
  107.     Spaces now allowed in options for parameter one ie "S c e(test) x(*.c) M"
  108.  
  109.  
  110. Dec 15, 1993 1.5 (First Release)
  111.     Name specified as SQZ file is taken as is the .SQZ file extension is
  112.     no longer enforced becareful that you do not have a data file with the
  113.     same name FOXSQZ will overwrite it !!!
  114.  
  115. Jan 04, 1994 1.5a (Maintaince Release)
  116.     Fixes problem with DOS executable which gave null pointer assignment.
  117.     Fixed problem with Compressor when file specifed with path was many
  118.     directory levels deep.
  119.  
  120. What To Look for in version 1.6 Which will be posted soon (around Valentines Day)
  121.     Multi-Volume Archives ( disk spanning ) with format/wipe options.
  122.     Full pathnames and subdirectory support...
  123.     Dos Verify flag control.    
  124.     Store only option...
  125.  
  126.  
  127. Support
  128. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  129. If you have any questions/sugestions please send EMAIL to (CIS) 70713,2002. 
  130. Or leave a message on FOXFORUM (ThirdParty Section) .
  131. I check my EMAIL everyday... Any updates to registered copies of FOXSQZ 
  132. will be available as small patch files on FOXFORUM.
  133.  
  134. All Suggestions/comments are welcome and of course appreciated..
  135.  
  136.  
  137.  
  138. WARRANTY AND LEGAL STUFF
  139. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  140. FOXSQZ is Copyright (c) 1993-94 Warren Master
  141.  
  142. There is no warranty or guarantees of any kind associated with FOXSQZ.
  143. I assume NO responsibility for ANY damage or loss caused by the use of 
  144. FOXSQZ, however it may happen and whatever may happen. 
  145.  
  146. I will not be liable for any damages whatsoever due to loss of data or any 
  147. other reason, even if I have been advised of the possibility of such damages. 
  148.  
  149. Any risk of damage due to any possible inaccurate information or a 
  150. misunderstanding of the provided information is assumed by the user 
  151. of the information.
  152.  
  153.  
  154. By registering and/or using FOXSQZ, you agree to these terms. 
  155.  
  156.  
  157. That's it...
  158.  
  159.  
  160.  
  161. How Much does it cost ?
  162. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  163.     Introductory Offer !
  164.  
  165.     a developer registration fee (DOS OR WINDOWS) is U.S. $69.00 ea.
  166.     (includes DOS EXE version)
  167.  
  168.     ADD $25.00 to receive both versions FOXPRO DOS & WINDOWS.
  169.     (a savings of $44.00)
  170.  
  171.  
  172. Multiple Copy Distribution:
  173. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  174.     Requires at least one registered developer copy
  175.     plus $3.00/copy up to a maximum of 100 Copies.
  176.     When 100 copies are licenced then distribution is
  177.     unlimited and royalty free as many copies as you like.
  178.     
  179.     *Unlimited distribution license entitles you to both DOS & Windows
  180.     Versions !
  181.  
  182.  
  183. Distribution
  184. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  185. This Software may be distributed with your application in a bound EXE or APP 
  186. in FOXPRO/DOS or as the unmodified FLL file for FOXPRO/WINDOWS. The DOS EXE
  187. version may be distributed as is. If you have properly registered I do not 
  188. require any credit(s) in your app for FOXSQZ.
  189.  
  190.  
  191.  
  192. How To Receive FOXSQZ
  193. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  194. You can recieve FOXSQZ by sending the order form below with a Check or Money
  195. Order Only , payable to Warren Master in U.S Funds for the total amount.
  196.  
  197.  
  198. Mail to: Warren Master           
  199.          1530 Palisade Avenue
  200.          Suite 16C               
  201.          Fort Lee, N.J. 07024
  202.  
  203.     ***     OR  ***
  204.  
  205. ** Registration on Compuserve 
  206.     You can also register FOXSQZ via Compuserve shareware database. GO SWREG
  207.     FOXSQZ DOS/WINDOWS bundled costs $105.00 when registering via Compuserve
  208.     The charge will billed to your compuserv account.
  209.     The registration number for FOXSQZ bundle is # 1942
  210.     Multiple Distribition licesnces are available seperatly..
  211.  
  212.  
  213. ----------------------------------------------------------------------------
  214. --------------------------- FOXSQZ ORDER FORM ------------------------------
  215. ----------------------------------------------------------------------------
  216.  
  217. Where did you obtain FOXSQZ?
  218.  
  219. Compuserve  [  ]    Your I.D. # ___________
  220.  
  221. BBS         [  ]    Which BBS  ______________ 
  222.                     Phone#?    ______________
  223.  
  224.  
  225. Where would you like Foxsqz Sent ? There are two choices:
  226.  
  227. 1)    EMAIL to Compuserve I.D ________________________ (usually same day deliv)
  228.  
  229.             OR
  230.  
  231. 2)    Send via U.S. Mail to the following Address:
  232.  
  233. Company          ___________________________________________________           
  234.  
  235. Name                ___________________________________________________          
  236.                                              
  237. Address           ___________________________________________________          
  238.  
  239. City State Zip     ___________________________________________________          
  240.                                              
  241. Country          ___________________________________________________            
  242.  
  243.  
  244.  
  245. SINGLE COPY REGISTRATION
  246.                                                                            
  247. qty ordered: ____ @ $______ $69.00 ea. Specify FOX/DOS or FOX/Windows Version
  248.                                           either version comes with a DOS Exe .
  249.  
  250.                     $______  $25.00 add to receive FOXSQZ for both platforms 
  251.                                     DOS & WINDOWS (save $44.00).
  252.  
  253.      Total: ____    $______    Payable in U.S. Funds 
  254.  
  255.  
  256.  
  257. MULTIPLE COPY REGISTRATION ADD
  258.  
  259. ____ copies @ $3.00 per copy Maximum 100 copies , there is no additional cost
  260.      for distribution once the maximun 100 copies have been registered. 
  261.     1 Devloper + 100 copy registration includes both DOS and Windows version 
  262.     ($25.00 multiplatform upgrade waived)
  263.  
  264.  
  265. Comments Suggesstions ?
  266. __________________________________________________________________________
  267. __________________________________________________________________________
  268. __________________________________________________________________________
  269. __________________________________________________________________________
  270.  
  271. --------------------------------------------------------------------------------
  272. --------------------------------------------------------------------------------
  273.     
  274.  
  275.  
  276.     I can be reached via CIS MAIL My I.D. is 70713,2002 and I monitor
  277.     the FOXForum daily. No Phone Calls Please! FOXSQZ can be shipped
  278.     via U.S. Mail or CIS EMAIL (which is same day).. 
  279.  
  280.  
  281.  
  282. Ussage:
  283. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  284.  
  285.  
  286. Set Libr to FOXSQZ  
  287.  
  288. From this point on FOXPRO now Knows how to Compress and
  289. decompress files without using the run/! command to shell out to DOS and call
  290. an external DOS program.
  291.  
  292. Syntax:
  293.  
  294. =SQZVERS() Returns the Current FOXSQZ Version...
  295.  
  296. =FOXSQZ( [S[cfmq@x],L[p],U[orq],I[cs] E[(pass)] D[a] T[(TargetDir)] SQZFileName, FileSpecs[s] )
  297.  
  298.  
  299. FOXSQZ Function Types and modifiers
  300. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  301.  
  302.  
  303. Modifiers used in all or most functions
  304. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  305. Q -  Quiet Mode No Screen OutPut
  306.  
  307. X -  Exclude File Specifier
  308.      You may specify upto five exclude file specifications 
  309.      the syntax is X(FileSpec) ie) X(*.c)X(*.bak)
  310.      The Exclusion operators work with S U L D I Functions..
  311.  
  312. E - Encrypt/DeCrypt Data in Archive
  313.  
  314.     When Compressing files This Option Will Add a Password to The Archive File
  315.     in additon to encryption the Compressed data.  The password may be a max of 18 chars.
  316.  
  317.     When Decompressing The password must match the encrypted password for 
  318.     decompression to be succussful. The Maximum lenth of a password is 20 characters
  319.     anything specified passed this maximum is ignored.
  320.  
  321.     ie) FOXSQZ("SCE(FoxPro)Z","TEST","*.C")
  322.         Compress *.c and encrypt the data with the Passord Foxpro (Case matters !)
  323.  
  324.  
  325.  
  326. S - Squeeze Function
  327. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  328.  
  329. S Modifiers.
  330. ▀▀▀▀▀▀▀▀▀
  331. 'C': Create Mode (only one supported) .
  332.      The Squeeze function will create a SQZ file and Compress file into it.
  333.      The alternative would be to update or add to an existing SQZ file.
  334.  
  335. 'M': Maximum Compression. 
  336.  
  337. 'F': Fast Compression. This is the Default and does not need to be specified.
  338.  
  339.  
  340. '@' : File List Inclusion operator
  341.         You may specify 1 include file which is a Text file containing file
  342.         specifiers. Any other file specifies are ignored (param 3)
  343.         The syntax is @(FileSpec) ie) @(data.inc)
  344.         the include file may contain any valid dos file names or wildcards
  345.         ONE Per Line!  Each line must be terminated with a Cr/Lf char pair
  346.         most text editord do this for you..
  347.  
  348.  
  349. U - Un-Squeeze Function
  350. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  351.  
  352. U Modifiers.
  353. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  354.  
  355. 'O',OverWrite Option, The overwrite option instructs FoxSQZ to Overwite files
  356.                       that are already on disk. Otherwise if the file already
  357.                       exists it will prompt you for overwrite permsiion.
  358.  
  359. 'R':RestoreOrginalDateTime, This option instructs FOXSQZ to Restore the orginal date
  360.                             and time to the file. Otherwise the current date and time
  361.  
  362.  
  363. 'T' : Target Directory
  364.     Specify the Target Drive and/or Path that the files should be decompressed to.
  365.     The Dest Drive path MUZE be enclosed in parenthesis and directly follow the T
  366.     modifier in the command string example : UT(C:\Work\Fox\API\)O 
  367.     ** NOTE ** the Trailing Backslash is Needed ! 
  368.  
  369.  
  370. D - Delete Files from SqzFile
  371. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  372.     Deletes the Specified Files from the SQZ file
  373.  
  374. Modifier
  375. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  376. 'A'  - Ask before deleting files
  377.  
  378.  
  379. L - List Files in Archive File
  380. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  381.     Displays files in a SQZ file. Lists the File name,original size, compressed
  382.     size, CRC value and Compression ratio.
  383.  
  384. L - Modifiers.
  385. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  386.  
  387. 'P':PageDisplay, This option instructs FOXSQZ to page the display of is't 
  388.                  output.
  389.  
  390.  
  391. SqzFileName Parameter (2)
  392. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  393. The Archive name may be any Character string or variable name that can
  394. represent a valid DOS file name. 
  395.  
  396. ie) "DEMOS.SQZ" "FILES"  
  397.  
  398. ** NOTE and WARNING **
  399.     Names specified as SQZ file is taken as . The .SQZ file extension is
  400.     no longer enforced as of v1.5 . Becareful that you do not have a data 
  401.     file with the same name FOXSQZ will overwrite it !!!
  402.  
  403.  
  404. FILESPEC Parameter (3) Optional
  405. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  406. The file Spec may be any valid DOS file name. Wildcard characters are supported.
  407. You may specify upto 10 Differnt File specs ie) "TEST.PRG *.prg "?.c *.h "
  408. If this parameter is omitted all files in the current directory will be assumed
  409. Same as (*.*).
  410.  
  411.  
  412. Programming Examples
  413. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  414.  
  415. Set Libr to FoxSqz  && Make FoxSqz a part of FOXPRO
  416.  
  417. =FoxSqz("SCM","TEST","*.c *.h *.asm")  
  418.     create SQZ file TEST.SQZ using Maximum Compression 
  419.     compress files *.c *.h and *.asm into test.sqz
  420.  
  421. =FoxSqz("SC","TEST","*.c *.h *.asm")  
  422.     Create SQZ file TEST.SQZ using Fast Compression 
  423.     compress files *.c *.h and *.asm into test.sqz
  424.  
  425. =FoxSqz("SC","TEST")  
  426.     create SQZ file TEST.SQZ using Fast Compression 
  427.     compress files all files in current directory
  428.  
  429. =FoxSqz("d","TEST","Lzw.c")
  430.     Delete the File lzw.c from TEST.reate SQZ file TEST.SQZ 
  431.  
  432. =FoxSqz("lp","TEST","*.c")
  433.     List all .c file from TEST.SQZ one page at a time.
  434.  
  435.  
  436. =FoxSqz("uot(c:\work)","TEST")
  437.     Uncompress all files from TEST.SQZ overwriting any files with
  438.     the same name and placing them in the C:\WORK directory
  439.  
  440.  
  441. =FoxSqz("uo","TEST","*.c")
  442.     Uncompress all .c file from TEST.SQZ overwriting any files with
  443.     the same name.
  444.  
  445. =FoxSqz("scmq","c:\arc\TEST.sqz","c:\work\data\*.dbf c:\work\data\*.fpt c:\work\source\*.pre")
  446.     Compress Files indicated into a sqz file in the c:\arc subdirectory
  447.  
  448.  
  449. =FoxSqz("scmqX(a*.*)","c:\arc\TEST.sqz","c:\work\data\*.dbf c:\work\data\*.fpt c:\work\source\*.pre")
  450.     Compress Files indicated into a sqz file in the c:\arc subdirectory
  451.     and eXclude files that begin with 'a'
  452.  
  453.  
  454. =FoxSqz("s@(test.inc)","Test")
  455.     Compress Files that are listed in test.inc into a sqz file 
  456.     Test.inc might contain:
  457.         *.c
  458.         c:\work\data\*.dbf
  459.         c:\work\data\*.fpt etc...
  460.  
  461.  
  462.  
  463. // Error Codes Returnded by FOXSQZ
  464.  
  465. #define ERR_NO_ERROR                0        "No Errors Detected",                
  466. #define ERR_BAD_INPUT               1         "Bad Input",               
  467. #define ERR_BAD_OUTPUT              2         "Bad Output",              
  468. #define ERR_BAD_GLOBAL_HEAD         3         "Bad Global Header",         
  469. #define ERR_WRITING_GLOBAL_HEAD     4         "Error Writing Global Header",     
  470. #define ERR_BAD_LOCAL_HEAD          5         "Bad Local Header",          
  471. #define ERR_WRITING_LOCAL_HEAD      6         "Error Writing Local Header",      
  472. #define ERR_MEM_ALLOCS              7         "Error Allocating Dynamic Memory",              
  473. #define ERR_MEM_ALLOCF              8         "Error Allocating FOXPRO Memory",              
  474. #define ERR_FILE_READ1              9         "File Read Error 1",              
  475. #define ERR_FILE_READ2              10         "File Read Error 2",              
  476. #define ERR_FILE_READ3              11         "File Read Error 3",              
  477. #define ERR_DOSFILESIZE             12         "DosFile Size Error",             
  478. #define ERR_FILE_WRITE1             13         "File Write Error 1",             
  479. #define ERR_FILE_WRITE2             14         "File Write Error 2",     
  480. #define ERR_FILE_WRITE3             15         "File Write Error 3",     
  481. #define ERR_PARAM1_ERROR            16         "Error In Parameter 1",            
  482. #define ERR_PARAM2_ERROR            17         "Error In Parameter 2",            
  483. #define ERR_PARAM3_ERROR            18         "Error In Parameter 3",            
  484. #define ERR_OPENIN_ERROR            19         "Error Opening Input",            
  485. #define ERR_OPENOUT_ERROR           20         "Error Opening OutPut",            
  486. #define ERR_NOFUNCTSPEC_ERROR       21         "Nothing To Do !",
  487. #define ERR_OPENWORKFILE_ERROR      22         "Error Opening WorkFile",
  488. #define ERR_FILEWRITE_ERROR         23         "File Write Error",
  489. #define CREATE_ABORT_BY_USER        24         "Create Aborted By User",
  490. #define ERR_ALLOCTBUFF              25         "Error Allocating TBuff",
  491. #define ERR_UNKNOWNPARAM_ERROR      26         "Error InValid Parameter",
  492. #define ERR_UNKNOWNCT_ERROR         27         "UnKown compression Type",
  493. #define ERR_PASSWORD_ERROR            28         "Error in Password",
  494. #define ERR_INVALID_PASS_ERROR      29         "InValid PassWord ",
  495. #define ERR_FOXSQZDONE                30         "Done!",
  496. #define ERR_DESTDRVPATH_ERROR       31         "Error Changing to destination Drive/Path"
  497. #define ERR_INVALID_TARGET_ERROR    32       "Unable to select Target of decompressed file"
  498. #define ERR_INVALID_INCLUDE_FILE    33       "Could not Open Include File"
  499. #define ERR_INVALID_INCLUSION       35       "Invalid Inclusion argument"
  500. #define ERR_INVALID_EXCLUSION       36       "Invalid Exclusion argument"
  501. #define ERR_MAX_EXCLUSIONS               37       "Exceeded Max Exclusions is Currently 5"
  502.  
  503.  
  504. Please send any and all comments and suggestions to Warren Master CIS 70713,2002
  505.  
  506.  
  507.  
  508. Thank You....
  509.