home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / OFFLINE / QWKM105.ZIP / SCRIPT.DOC < prev    next >
Text File  |  1992-04-05  |  2KB  |  54 lines

  1. QWKMerge now has the ability to run unattended via scripts that you can
  2. create.  The scripting also brings to QWKMerge the ability to locate
  3. files in directories other than the defaults.
  4.  
  5. To run a script file with QWKMerge, simply type the name of the desired
  6. script file on the QWKMerge dos command line.
  7.  
  8. Script commands:
  9.  
  10.        L->filename.LOG  - Change to a new log file.
  11.        C->filename.CFG  - Use the indicated configuration file.
  12.        D->filename.QWK  - Select destination (master) QWK file.
  13.        S->filename.QWK  - Select source QWK file.
  14.        SK>filename.QWK  - Select source QWK file and kill after use.
  15.        B->              - Begin merge process.
  16.  
  17. Note: the "filename" specification may also be a path and filename on
  18.       the current drive or the COMPLETE drive, path and filename on
  19.       another drive.  If your current drive is C: and you enter a
  20.       filename specification as D:BBSID.QWK, QWKMerge will very likely
  21.       be unable to locate it.  Enter it as D:\MAIL\BBSID.QWK instead.
  22.       If a filename alone is entered with no path or drive, QWKMerge
  23.       will locate it in the default directory as specified in QWKCfg.
  24.  
  25. Sample script:
  26.  
  27. l->idcbbs.log
  28. c->idcbbs.cfg
  29. d->idcmast.qwk
  30. sk>5idcbbs.qwk
  31. sk>4idcbbs.qwk
  32. sk>3idcbbs.qwk
  33. sk>2idcbbs.qwk
  34. sk>1idcbbs.qwk
  35. b->
  36. l->c:\qwkmerge\logs\lvwr.log
  37. c->lvwr.cfg
  38. d->d:\mail\master\lvwrmast.qwk
  39. s->c:\download\lvwr.qwk
  40. b->
  41.  
  42. The above example will use idcbbs.log to start logging the session (if
  43. no log file is specified, qwkmerge.log will be used).  Then using the
  44. configuration file idcbbs.cfg, the destination QWK idcmast.qwk, QWKMerge
  45. will merge in 5idcbbs.qwk, 4idcbbs.qwk, etc. and delete each one after
  46. processing.  Then it will switch log files to lvwr.log and using
  47. lvwr.cfg and lvwrmast.qwk, will merge in lvwr.qwk without deleting it
  48. after the merge.
  49.  
  50. The script file should be edited using a standard text editor like
  51. Qedit.
  52.  
  53. I know, I know.  Lousy docs!  What do you want from a programmer!?!
  54.