Close Batch File Window

W

Waldemar

I have a batch file containing 3 lines:
copy c:\Temp\db1.mde d:\Temp\db1.mde
d:\Temp\db1.mde
exit

I want user to use fresh front end each time when starting an Access application.
One problem with it is, the batch window stays open as long as Access application is running. User has to close it manually. How can I make it close? The third line does not execute as long as Access app is open.
Thanks,
Waldemar
 
W

Waldemar

Use Start command:

copy c:\Temp\db1.mde d:\Temp\db1.mde
Start d:\Temp\db1.mde

Regards,
Waldemar
 
H

hmmm

@echo off
echo copy db from c: to d:
copy c:\Temp\db1.mde d:\Temp\db1.mde
d:\Temp\db1.mde
:END



I think the end command finishes the batch file, not Exit.


regards
Hmmm
-----Original Message-----
I have a batch file containing 3 lines:
copy c:\Temp\db1.mde d:\Temp\db1.mde
d:\Temp\db1.mde
exit

I want user to use fresh front end each time when
starting an Access application.
One problem with it is, the batch window stays open as
long as Access application is running. User has to close
it manually. How can I make it close? The third line does
not execute as long as Access app is open.
 

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

Top