home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / zip / to_zip.arc / MANUAL.DOC < prev    next >
Encoding:
Text File  |  1989-10-09  |  3.4 KB  |  57 lines

  1. Welcome!
  2.  
  3.         A simple discussion of the purpose of these programs is all that you
  4. will find here.  I wrote them in QuickPascal to solve a large and tedious
  5. problem that I had.  And I suspect many of you may have as well.  I had a
  6. directory on my hard drive full of archived files that I downloaded.  Yet,
  7. they were in formats that I did not want for my own storage purposes.  After
  8. all, we all have our own preferences right?
  9.         The directory \LZH on my hard drive had over 100 or so .LZH files and
  10. I wanted them all converted to .ZIP (new v1.01) because the size difference
  11. between the two formats now is minor but the speed is heavily in favor of
  12. PKZIP v1.01.  So I wanted to convert them all to .ZIP with as little effort
  13. as possible.  I made a \ZIP directory for the newly created .ZIP files to
  14. end up in and then wrote a batch file to do the conversion.  My batch file
  15. copied the file specified on the command line to a \WORK directory, un-LZHed
  16. it, deleted the .LZH file, ZIPed it and copied the .ZIP to the \ZIP
  17. directory.  It then deleted all the files in the \WORK directory and it was
  18. finished.  But I had to keep running this batch file once for each file
  19. and I had to keep typing 'dir' to get another look at the next files.
  20.         Instead, I wrote this program to handle all that for me.  It performs
  21. the same tasks but does it all automatically.  It only needs to know 3 things
  22. before it can do its task.  You must tell it the .LZH (or .ARC) directory
  23. which you can think of as your source directory.  It must know the .ZIP
  24. directory which you may also call your target directory.  It must lastly
  25. know what work directory is available.  The work directory should be empty
  26. at the start of session.  The file YES.TXT is simply and y and a CR/LF pair
  27. that is piped into the DEL *.* command so that you do not have to interact
  28. at all during the process of conversion.  You must also have LHARC, PKZIP
  29. and PKXARC somewhere in your PATH on your hard drive.  My program will search
  30. all the PATHs to find them and then use them.  If it cannot find them, you
  31. will receive an error message and the program will be terminated.
  32.         It worked wonders during my testing which was not really a test
  33. because I ran it on the real thing right from the start.  44 .LZH files
  34. were converted to .ZIP without my doing a thing once the program started
  35. running.  Saved me from an otherwise boring and mindless afternoon of doing
  36. housekeeping on my system.
  37.         So next time you download a group of files from SIMTEL20, for instance,
  38. and you want to convert them from .ARC to .ZIP, you are all set.  Here is
  39. what I suggest.  Make a directory called C:\ARC, C:\ZIP and C:\WORK.  Place
  40. all your .ARC files in C:\ARC.  Place the file ARC2ZIP.EXE and YES.TXT in
  41. your root directory or where ever (as long as the two files are together).
  42. Then run ARC2ZIP and tell it \ARC for the .ARC dir, \ZIP for the .ZIP dir
  43. and \WORK for the work directory.  And just sit back and relax.
  44.         I have just finished converting over 400 files from .LZH to .ZIP
  45. with 'NIL' effort on my part (except for writing the program).  If you
  46. have problems with the program, don't hesitate to send me some Email at the
  47. address below.  If you like the program, also let me know.
  48.  
  49.  
  50. -- Michael P. Kelly, 2LT U.S. Army Signal Corps
  51.  
  52.         mkelly@blackbird.afit.af.mil
  53.         mkelly@galaxy.afit.af.mil
  54.  
  55.  
  56.  
  57.