home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / pcmanage / try.txt < prev   
Text File  |  1990-01-20  |  1KB  |  45 lines

  1. PCOMPRESS
  2. date >cur_date <new_date
  3. PCMANAGE -i -p%1%
  4. debug cur_date <debug.scr
  5. date <cur_date
  6. PCMANAGE -p%1%
  7.  
  8.  
  9. Using this script, the PCOMPRES utility is loaded into memory.  The
  10. current date is saved in a file called CUR_DATE, and date is reset
  11. to a much earlier date with the contents of the NEW_DATE file (See
  12. below).  Then, PCMANAGE is set to access all files, starting with the
  13. directory you specified on the command line.  Using the DEBUG program,
  14. found on almost every DOS system currently in use, the DEBUG.SCR is
  15. run to reduce a line of the form "Current date is DAY MM-DD-YYYY" to
  16. a simple "MM-DD-YYYY<Ret>" form.  The date is reset using this date,
  17. and PCMANAGE is run again, this time in "compress" mode, again using
  18. the path you indicated as its starting directory.  Please note: the
  19. DEBUG.SCR is a down and dirty job and won't work with months before
  20. October or after January.  To get it to work with the excluded months,
  21. simply use DEBUG2.SCR instead of DEBUG.SCR.
  22.  
  23. NEW_DATE
  24. ========
  25. 01-01-89
  26.  
  27. DEBUG.SCR
  28. =========
  29. m 114 11d 100
  30. e 10a d
  31. r cx
  32. b
  33. w
  34. q
  35.  
  36. DEBUG2.SCR
  37. ==========
  38. m 115 11d 100
  39. e 109 d
  40. r cx
  41. a
  42. w
  43. q
  44.  
  45.