rem With v0.1 you can now either use PCBOARD.SYS or DOOR.SYS drop files
rem It's now config'd in the USURP#.CTL file.
rem Just a note that the author left out in the docs.
rem You need to make USURPER.EXE a READ ONLY FILE....
rem attrib +r usurper.exe should do it!


@echo off
d:
cd\usurper
if %pcbnode% == 1 Goto Node1
if %pcbnode% == 2 Goto Node2
if %pcbnode% == 3 Goto Node3
Goto END
  
:Node1
Usurper /M1 /E /N1 /PC:\PCB\NODE1\
Goto END
   
:Node2
Usurper /M2 /E /N2 /PC:\PCB\NODE2\
Goto END
   
:Node3
Usurper /M3 /E /N3 /PC:\PCB\NODE3\
Goto END
   
:END
if "%INPCB%" == "Y" exit
%pcbdrive%
cd %pcbdir%
REM copy c:\pcb\closed.txt %pcbdrive%%pcbdir%\pcbdoor.txt
board
