home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / knm023.zip / netcall.bat < prev    next >
DOS Batch File  |  1998-10-24  |  1KB  |  33 lines

  1. @rem Windows startup file for the knm netcall tool
  2. @echo off
  3.  
  4. rem *** Feed the following arguments to this startup file:
  5. rem  1. Options (optional) :
  6. rem     -c              contact internet servers. If present, 
  7. rem                       all other arguments are optional.
  8. rem     -f filename     starts knm with this configuration file
  9. rem     -s server       connects to this server instead of localhost
  10. rem  2. Gateway Name
  11. rem  3. User Name
  12. rem  4. User Password
  13. rem  5. Command (currently one of GETOLD and JANUS)
  14. rem        JANUS performs a normal Janus Netcall
  15. rem        GETOLD (re)sends all articles from subscribed groups still available
  16. rem  6. Path the called "puffer" file should be put into
  17. rem  7. Complete caller "puffer" filename (not needed for GETOLD command)
  18. rem Careful: this is all case sensitive!
  19.  
  20. rem *** Set these variables according to your needs
  21.  
  22. set knmpath=.
  23.  
  24. rem *** End of environment variables to set
  25.  
  26. rem *** This is a workaround for a common OS/2 TCP/IP problem.
  27.  
  28. ifconfig lo 127.0.0.1 up
  29.  
  30. rem *** Deactivate the above workaround if you know what you're doing
  31.  
  32. java -classpath %classpath%;%knmpath%\knm.jar net.ibm.malamut.newsmail.netcall.Netcaller %1 %2 %3 %4 %5 %6
  33.