aspnetuser
Technical User
Hello.
I am currently using a batch file to execute a mass update when users open my db. Here is the batch file the click.
Update.bat
------------------------------------------------------
rem If the latest version file is on the PC, just start the database
if exist "PTS.1.24.txt" goto Startup
copy "\\path\share\DBApps\PTS.adp"
copy "TEST.adp" "C:\Documents and Settings\All Users\Desktop\TEST.adp"
copy "\\path\share\DBApps\1.24.txt"
:Startup
rem fire it up
"C:\Documents and Settings\All Users\Desktop\TEST.adp"
exit
---------------------------------------
This works fine but I want to move this mentality into my access db when it is started up. If it finds the text file locally, just open, if not, close and copy new version
possible?
I am currently using a batch file to execute a mass update when users open my db. Here is the batch file the click.
Update.bat
------------------------------------------------------
rem If the latest version file is on the PC, just start the database
if exist "PTS.1.24.txt" goto Startup
copy "\\path\share\DBApps\PTS.adp"
copy "TEST.adp" "C:\Documents and Settings\All Users\Desktop\TEST.adp"
copy "\\path\share\DBApps\1.24.txt"
:Startup
rem fire it up
"C:\Documents and Settings\All Users\Desktop\TEST.adp"
exit
---------------------------------------
This works fine but I want to move this mentality into my access db when it is started up. If it finds the text file locally, just open, if not, close and copy new version
possible?