testunzip.pp 741 B

123456789101112131415161718192021222324252627282930
  1. {
  2. $Id: header,v 1.1 2000/07/13 06:33:45 michael Exp $
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1999-2000 by the Free Pascal development team
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {$mode objfpc}
  12. {$h+}
  13. Program testunzip;
  14. uses Classes,Zipper;
  15. Var
  16. I : Integer;
  17. begin
  18. With TUnZipper.Create do
  19. try
  20. UnZipAllFiles(ParamStr(1));
  21. Finally
  22. Free;
  23. end;
  24. end.