Hello Geoff,

On Tue, 4 Dec 2001 17:30:57 +0000 GMT (05/12/2001, 01:30 +0800 GMT),
Geoff Lane wrote:

GL> Perhaps someone who knows TB "under the hood" can give a
GL> more-enlightened response.

I think it is not TB, but the way the OS works. When TB is open but
nothing happens to the message base, the files are closed. Otherwise
they could not be opened by another application (unless it can be
shared, which is I think only a network setting). So they can be
copied.

If the file is in use by TB while the copy command starts and tries to
open the file, one of two things can happen:

1.) You receive an error message "cannot open file" or "file in use"
or such, and your batch file aborts.

2.) The copy command (or the thread it has created in your system,
rather) waits until the file's semaphore signals the waiting thread
the the resource (the file) is now available. IOW you wouldn't know,
unless TB keeps the file open rather long.

I don't even know which version applies under Windows.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Bright as Alaska in December.

Message reply created with The Bat! 1.54/10
under Chinese Windows 98 4.10 Build 2222 A 
using an AMD Athlon K7 1.2GHz, 128MB RAM


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ        : http://faq.thebat.dutaint.com 

Reply via email to