home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Java
/
Java.zip
/
knm023.zip
/
netcall.bat
< prev
next >
Wrap
DOS Batch File
|
1998-10-24
|
1KB
|
33 lines
@rem Windows startup file for the knm netcall tool
@echo off
rem *** Feed the following arguments to this startup file:
rem 1. Options (optional) :
rem -c contact internet servers. If present,
rem all other arguments are optional.
rem -f filename starts knm with this configuration file
rem -s server connects to this server instead of localhost
rem 2. Gateway Name
rem 3. User Name
rem 4. User Password
rem 5. Command (currently one of GETOLD and JANUS)
rem JANUS performs a normal Janus Netcall
rem GETOLD (re)sends all articles from subscribed groups still available
rem 6. Path the called "puffer" file should be put into
rem 7. Complete caller "puffer" filename (not needed for GETOLD command)
rem Careful: this is all case sensitive!
rem *** Set these variables according to your needs
set knmpath=.
rem *** End of environment variables to set
rem *** This is a workaround for a common OS/2 TCP/IP problem.
ifconfig lo 127.0.0.1 up
rem *** Deactivate the above workaround if you know what you're doing
java -classpath %classpath%;%knmpath%\knm.jar net.ibm.malamut.newsmail.netcall.Netcaller %1 %2 %3 %4 %5 %6