Bat files

R

RBDU

Hi All! thanking anyone for a reply.
I have a few questions re Bat files in Windows XP.

1. I have a bat file called - Search.BAT. It copies a access 2003 database,
on the close of that database to a Pen drive "F drive". Works OK but at
times it causes the computer to freeze when the Bat file message is shown to
the user.

2. When the bat file window closes on click on any key to close that window,
which it does, and the user returns to the windows screen it causes a slow
response between the two. I had a response to this problem sometime ago and
was asked to enclose the search bat. Any ideas here? Here is the:

Search.Bat
...................................................................................................

cls
@echo "Now backing up Search Database, please wait....."
@echo off
copy D:\landsearch.mdb F:\
@echo "Backup now complete..."
@pause
@exit

....................................................................................................

This problem did not exist pre WXP but the company updated. I read the help
file in WXP and it appears a few things have changed re bat files. The only
thing I can think of, is in the pre XP version of windows, in the bat file I
could select, "close on exit", which I can not do now.

Regards Peter
 
J

John

RBDU wrote:
Works OK but at times it causes the computer to freeze when the Bat
file message is shown to the user.

You may be able to get more info from the Event viewer.
HOW TO: View and Manage Event Logs in Event Viewer in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;308427
Or,
Start > Run, copy & paste > eventvwr.msc /s & press Enter.
Scroll down to the last time your computer crashed and it should tell
you what device/driver caused the problem?

Event Log Explorer
http://www.eventlogxp.com/
http://www.eventlogxp.com/download/elex.zip
Event Log Explorer is a free software for viewing, monitoring and
analyzing events recorded in Security, System, Application and another
logs of Microsoft Windows NT/2000/XP/2003 operating systems. It extends
standard Event Viewer monitoring functionality and brings new features.
Or,
Extract troubleshooting info from Windows XP BSOD error messages
http://techrepublic.com.com/5100-10877-6053684.html#
 
R

RBDU

This is not a crash problem, I am writing bat files to execute commands when
a user clicks on a button in MS Access 2003.. This button runs the bat file
in the C drive and then backs up a database to a pen drive.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top