home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR14 / VIRCHEK2.ZIP / ZC.BTM < prev   
Text File  |  1993-07-27  |  628b  |  16 lines

  1. @rem -- ZC.BTM v2.0a 
  2. @rem -- Adds archive comment to ARJ and/or ZIP files.
  3. @rem -- Developed by Gary Weinfurther (1:120/301)
  4. @rem -- For use with VIRCHECK.BTM (4DOS Users Only!)
  5.  
  6. IFF "%1" == "" THEN
  7.     echo Syntax: ZC filespec
  8. elseiff "%@ext[%1]" == "ARJ" then
  9.     arj c %1 -z\max\comment.zh -s1
  10. elseiff "%@ext[%1]" == "ZIP" then
  11.     zcp -Z%1 -Cc:\max\comment.zh -L
  12. elseiff "%@ext[%1]" == "*" .OR. "%@ext[%1]" == "" then
  13.     if exist %@PATH[%1]%@NAME[%1].ARJ arj c %@PATH[%1]%@NAME[%1].ARJ -z\max\comment.zh -s1
  14.     if exist %@PATH[%1]%@NAME[%1].ZIP zcp -Z%@PATH[%1]%@NAME[%1].ZIP -Cc:\max\comment.zh -L
  15. endiff
  16.