On 03/06/17, Caphood said the following...
@Echo On
c:
cd\mystic
:LOOP
MIS
TIMEOUT /T 5
FIDOPOLL KILLBUSY
GOTO LOOP
Almost! Here is one better and I know I posted this before.
@ECHO OFF
C:
CD \MYSTIC
:LOOP
IF EXIST \MYSTIC\SEMAPHORE\MIS.BSY (
DEL \MYTSIC\SEMAPHORE\MIS.BSY
)
MIS
TIMEOUT /T 5
IF EXIST \MYSTIC\SEMAPHORE\FIDOPOLL.BSY (
FIDOPOLL KILLBUSY
)
GOTO LOOP
Its normally good practice to check for a file before trying to remove it
like how I did it above.
Let me know if you have questions!
Cheers!
Pequito
+- $s.s$s.s$ ----------------------------------------+
| $ý"$$$"ý$ twinklebbs.homeip.net |
| .$$$. winkle BBS twinklebbs.homeip.net:8080 |
+-- .$$$$$. -----------------------------------------+
$ý"~"ý$ Christopher Malo aka Pequito!
--- Mystic BBS v1.12 A31 (Linux)
* Origin: Twinkle BBS (21:1/126)