[AccessD] A2K:OT: Get a batch file to quit or close

Drew Wutka DWUTKA at marlow.com
Thu Aug 28 19:51:32 CDT 2003


The problem is that the batch file 'called' the app.  It isn't going to
close, until the app closes.  A simple way around this would be to have a
little VB .exe Shell out to the app, then close.  Then have your batch file
call your VB.exe, since it closes once it's run the shell command,
everything should close right away.

Then again, if you are shelling out with VB, why would you need a batch
file! <grin>

Drew

-----Original Message-----
From: Darren DICK [mailto:d.dick at uws.edu.au]
Sent: Thursday, August 28, 2003 7:41 PM
To: AccessD List
Subject: [AccessD] A2K:OT: Get a batch file to quit or close


Hello all
I have a batch file that gets the latest server version of an app - copies
it locally then sparks it up
So far so good.
My problem is, I want the 'DOS' window to go away after it has sparked up
the app.
This is a Win2000 Serv Pack 4 box
I have tried the usual settings in the properties window both for the batch
file and the Shortcut.
Minimised the window changed the colours etc etc.
Can't find a switch to actually make it close after it loads the app or
'not' appear in the task bar
Anyone know of a DoCmd.Quit command for dos?

Many thanks in advance

Darren

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list