home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
pcc
/
v08n03
/
netwrk.exe
/
FAXBAT13.ZIP
/
POLLSERV.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-05-24
|
746b
|
33 lines
@echo off
rem Syntax: POLLSERV [(servername) [(username) [(password)]]]
rem Server name = server to poll (default = current server).
rem User name = user name for attach (no default).
rem Password = password to use for attach (default = no password).
if '%1' == '' goto mapdrive
if not '%3' == '' stuffkey %3#013
if not '%2' == '' f:\public\attach %1/%2 >nul
if errorlevel 1 goto end
f:\public\castoff all > nul
f:\public\map i:=%1/sys:
:mapdrive
if '%1' == '' f:\public\map i:=sys:
i:
f:\applic\pegasus\maildir
h:
rem Run all the batch files found in the mail directory of FAX user.
for %%f in (i:*.bat) do call %%f
:end
clearkey 0
if not '%2' == '' f:\public\logout %1 > nul