Re: VBS Script vs In-use files

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks for the reply.

I believe that the program in question uses the Borland Advantage database
(the program is Medisoft). I hope that helps. I was hoping for a solution
that somehow reports back when a given file is already open.

***

"McKirahan" <News@xxxxxxxxxxxxx> wrote in message
news:7_CdnTWxnPD2ARPfRVn-oA@xxxxxxxxxxxxxx
> "*** Sutton" <RichardMSutton@xxxxxxxxxxx> wrote in message
> news:qPSdneNBZunbHBPfRVn-vA@xxxxxxxxxxxxxx
>> I want to automate the backing up of an important database via a vbs
> script
>> on a small LAN. The problem is, how can I be sure that the database
>> isn't
>> open and in use? Waiting until, say 2 am when the activity is likely
>> nil,
>> is unacceptable because the machines are shut off after everyone has gone
>> home.
>>
>> Does anyone have a suggestion as to how I could determine (via scripting)
> if
>> any users have the database open?
>>
>> All machines are XP SP2.
>>
>> ***
>
> You need to tell us the type (and version) of the database.
>
> MS-SQL, MS-Access, MySQL, or ?
>
>
>


.


Quantcast