[REBOL] Re: Closing dial-up connection ?
From: mario::cassani::icl::com at: 24-Oct-2001 14:33
Hi Ronald,
> I'd like to automatically close my dial up modem connection
> after a rebol
> task : how can I do that from Rebol ?
If you don't have the /Pro or /Command you need an external
program to be called by a script. I suggest you RCL, for Win9x:
http://www.softnik.com/products/rcl/
RebolNet.BAT
=============
@Echo OFF
REM Calling REBOL starts the dial
D:\Rebol\view\rebol.exe yourscript.r
REM REBOL creates the following script to hang the phone
call Hang.BAT
yourscript.r
=============
REBOL[
]
;....
write %HANG.BAT "rcl -D"
This is not perfect, it's untested but should put you on the
way for the right solution.
Nihao
Mario