[AccessD] Updating front-end via batch file?

Christopher Hawkins clh at christopherhawkins.com
Fri Oct 15 14:39:17 CDT 2004


Hello, all.  

I have a client who is constantly tinkering with his home-grown
Access solution and is constantly rolling out updates (against my
advice, of course).

I was about to set him up with a simple batch file that just uses
COPY [origin] [destination]  to copy  the latest version of the .mdb
from a folder on the server to a user's machine.  But before I do, I
want to know if it is possible to get a little fancier.  

I would like the batch file to a) compare the filename on the user's
machine to the filename on the server, and then b) do the copy if the
names are different, or c) NOT do the copy if the names are the same
(my client likes to put the version number in the filename).

Is this too much to ask of the humble batch file?


-Christopher-

P.S. 
And for those of you who wonder why I don't use a vbscript file, this
client swaps eMachines and other budget boxes in and out of his
business based on what's on sale at Costco that week (again, against
my advice).  I can't be sure that new boxes he brings in will have
WSH or any of the complementary components installed on the
bastardized version of WinXP that ships with a lot of thses crap
boxes.  But I know that batch files work on everything from Win95 up.
;)
Respectfully,

Christopher Hawkins
Software Developer
(559) 687-7591
http://www.christopherhawkins.com





More information about the AccessD mailing list