AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page
   Local Database  BAT Magic   [171 / 250] RSS
 From   To   Subject   Date/Time 
Message   Carloman    Gold Duster   Help...   November 11, 1995
 1:01 AM *  

Re: Help...

>   I just know that someone out there will say "that's easy... do this"  so at
> the risk of looking like a novice here goes...
>   I want to create a bat or better yet a cmd file that could be run as an
> event that would check to see if a network connect has been made and if not
> attempt to make it again...

     That's easy ... do this :)

     Replace the command to dial out in VCONFIG with the name of the .BAT
... for example, using the usual fake directory/file names that you must
correct to fit your paths, etc:

:CALLOUT.BAT
@ECHO OFF
IF EXIST C:\STATUS.NET DEL C:\STATUS.NET
XCOPY /A C:\BBS\VNET\STATUS.NET C:\
IF EXIST C:\STATUS.NET GOTO END
VNET /DIAL1###-###-####
:END

     This checks the archive (a) attrib flag for STATUS.NET - a file that is
updated when a succesful connect is effected. XCOPY /A will only copy the
file IF it has the "a" attribute set. So the dialout will
only happen when there has been no updating of STATUS.NET (i.e., no successful
dialout).
     You can use this method any time you want to check for a successful
dialout and retry it if not done. Once it IS made, it will not dialout again
until you either give the VNET /DIAL command directly as before OR give the
command at some point: ATTRIB -a C:\STATUS.NET (added to your
daily_?) ... thus forcing the batchfile to think there has been no updating
(hence successful connect) and will try again.
     Mess around with it - it should work out.

                                 ��Carloman

��������������۲������۲����������Carlomania�������������������������۲�������
�ν�������������������{��}v7.00�@1610069�Nazareth.PA{��}��������������������ν
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0137 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108