Chris Foote (Spike)
spikee at oatlandspark.org.uk
Fri Oct 15 15:18:12 CDT 2004
Hi Christopher! I have a batch file at work doing just the job you are after. If you can wait 'til Monday I'll send it to you then. Regards! Chris Foote <All outgoing e-mail messages are swept for malware using Norton Anti-virus 9.05.15 with virus definitions dated 12th October 2004> -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: 15 October 2004 20:39 To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? 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 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com