Hi All,
I'm using access 2003, I have a split database with the back end on a remote PC and seperate front ends on 4 other PCs in my office.
I'm making regular changes to front end (adding features, fixing bugs) so want everyone in the office to be using the latest version of the front end.
Every time I make a change I copy the new front end to the remote location.
To update all 4 PCs I wrote a Batch file which uses XCOPY to copy the latest front end from the remote and replace the front end on the user's PC if the date of the source file is newer. The bat file then opens the access front end.
The user opens the bat file on their PC so each time they open it the newest version is downloaded if the soruce is newer than the destination.
This works on the 3 Windows 7 machines but not on the Windows XP machine.
my bat file code is:
I know this isn't quite a VBA problem but if anyone can either help me or suggest another/better way to do it, that would be great.
Cheers
Steve
I'm using access 2003, I have a split database with the back end on a remote PC and seperate front ends on 4 other PCs in my office.
I'm making regular changes to front end (adding features, fixing bugs) so want everyone in the office to be using the latest version of the front end.
Every time I make a change I copy the new front end to the remote location.
To update all 4 PCs I wrote a Batch file which uses XCOPY to copy the latest front end from the remote and replace the front end on the user's PC if the date of the source file is newer. The bat file then opens the access front end.
The user opens the bat file on their PC so each time they open it the newest version is downloaded if the soruce is newer than the destination.
This works on the 3 Windows 7 machines but not on the Windows XP machine.
my bat file code is:
Code:
@ECHO OFF
ECHO Please Wait while latest Database is copied from server
ECHO f | xcopy /F /Y /D "\\REMOTE\Database Trial\Database FrontEnd.mdb" "C:\fe\Database FrontEnd.mdb"
START "" msaccess.exe "C:\fe\Database FrontEnd.mdb"
exit
Cheers
Steve