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   [204 / 250] RSS
 From   To   Subject   Date/Time 
Message   Visitor    ALL   once.bat   December 6, 1995
 9:52 PM *  

Title:      "Once is Enough"
Reference:  PC World February 1990
Author:     Michael Payne
Files:      ONCE.DOC, ONCE.BAT

Not all memory resident programs can prevent themselves from being
loaded more than once. To make sure you don't load the same resident
program again and again, insert the command

set tsr=not_installed

into your AUTOEXEC.BAT file. Then, copy and rename ONCE.BAT. For
example, if your TSR is named MYTSR, you might name the batch file
RUNMYTSR.BAT. Modify the batch file, replacing tsr with your TSR's
file name.

Now when you type RUNMYTSR to load the batch file, if it's already
loaded, the batch file will recognize that fact and refuse to load
another copy into memory.

--[Cut here]----------------------------------------------------------

echo off
if %tsr%==installed goto run_app
tsr
set tsr=installed
:run_app
c:
cd \appdir
app

___ Blue Wave/QWK v2.12
  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.0232 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