home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / wa202 / whatarc.ctl next >
Text File  |  1991-05-12  |  3KB  |  78 lines

  1.  
  2. ; WhatArc v2.02 configuration file
  3. ; ================================
  4. ;
  5. ; General Info
  6. ; ------------
  7.  
  8. LOG     f:\qbbs\system.log      ; Log file - can't use TB logfile
  9. SCREEN  128                     ; Save screen if more than 128 RAM is left
  10.  
  11. ; Errorlevels returned by WhatArc
  12. ; -------------------------------
  13.  
  14. NO_ERROR 0                      ; All went well
  15. FAILURE  1                      ; Error occured!
  16.  
  17. ; Archivers
  18. ; ---------
  19. ; The masks can contain the following placeholders:
  20. ;
  21. ;       %1 - archive path  %2 - archive name
  22. ;       %3 - packet path   %4 - packet name
  23. ;
  24. ; The paths _do_not_ have a trailing backslash. The command lines are
  25. ; _not_ uppercased by WhatArc.
  26.  
  27. ARC_X d:\tb\arc\arc.ttp XO %1\%2 %3\%4         ; ARC extract mask
  28. ZIP_X d:\tb\arc\unzip.ttp xo %1\%2 %3\%4       ; ZIP extract mask
  29. LZH_X d:\tb\arc\lharc.ttp xuo %1\%2 %3\%4      ; LZH extract mask
  30. ARJ_X d:\tb\arc\unarj.ttp %1\%2 %3\%4          ; ARJ extract mask
  31.  
  32. ARC_A d:\tb\arc\arc.ttp M %1\%2 %3\%4          ; ARC create mask
  33. ZIP_A d:\tb\arc\zip.ttp m %1\%2 %3\%4          ; ZIP create mask
  34. LZH_A d:\tb\arc\lharc.ttp mu %1\%2 %3\%4       ; LZH create mask
  35. ARJ_A d:\tb\arc\arj.ttp M %1%2\ %3\%4          ; ARJ create mask
  36.  
  37. ; Errorlevels returned by archivers
  38. ; ---------------------------------
  39. ;
  40. ; Most archivers return 0 for success and >0 for failure. If you specify 
  41. ; errorlevels here are translated into 'NO_ERROR' by WhatArc. Errorlevels
  42. ; which aren't listed here are translated into 'FAILURE'.
  43.  
  44. ARC_A_OK 0                          ; ARC add went okay      |
  45. ARC_X_OK 0                          ; ARC extract went okay  | These values
  46. ZIP_A_OK 0                          ; ZIP add went okay      | are the
  47. ZIP_X_OK 0                          ; ZIP extract went okay  | defaults in 
  48. LZH_A_OK 0                          ; LZH add went okay      | WhatArc. 
  49. LZH_X_OK 0                          ; LZH extract went okay  |
  50. ARJ_A_OK 0                          ; ARJ add went okay      |
  51. ARJ_X_OK 0                          ; ARJ extract went okay  |
  52.  
  53. NODUPS yes                          ; Yes, delete & rename.
  54.  
  55. ; Who gets what?
  56. ; --------------
  57.  
  58. DEFAULT ARCmail                     ; Everyone gets ARCmail
  59. SEND    2:282/301 LZHmail           ;   except 2:282/301 who gets LZHmail
  60. SEND    2:282/350 ARJmail           ;   and    2:282/350 who gets ARJmail
  61. SEND    2:281/800 ZIPmail           ;   and    2:281/800 who gets ZIPmail
  62.  
  63. ; Other items
  64. ; -----------
  65.  
  66. ; If an error occurs during archive extraction, should WhatArc delete
  67. ; extracted packets and rename the archive to 'bad'? This will help to
  68. ; prevent dups.
  69.  
  70. NODUPS yes                          ; Yes, delete packets & rename archive.
  71.  
  72. ; If a packet still exists after it has been archived, should WhatArc
  73. ; delete it? This is _only_ done if the errorlevel is 'OK' and the archive
  74. ; exists.
  75.  
  76. DELPKT yes                          ; Yes, delete packets after archiving
  77.  
  78.