scotthutchings
Registered User.
- Local time
- Today, 03:50
- Joined
- Mar 26, 2010
- Messages
- 96
I have created a batch file to enable users to update their FE database when new ones become available. I have 2 questions:
1. I have set up the installation package using the Package Solution Wizard to include this batch file and it places it in the same folder as the FE software. Is there a way to either a. create a shortcut to this file on the desktop as part of the installation procedure? or b.) move the batch file to the desktop as part of the installation procedure? The problem with the manual procedure is that the user must first unhide hidden files and show critical system files before they can access the FE files. I have a customer that is leaving for Vietnam on Friday where he will be installing it on several user's computers over there (the BE is located in California). He is not very computer savy and it makes me nervous sending him with a written procedure to move the file.
2. How can I replace the FE database with an updated database from within the database itself? When an update becomes available, I post it on the server and then each person must close the FE, click on the Update batch file (which copies the updated file to their local machine) and then reopen the file. I would like to create an update command button within the FE database itself that would do the same thing. Here is what I have in my batch file:
I don't know how I can accomplish this. Any help would be greatly appreciated!
Scott
1. I have set up the installation package using the Package Solution Wizard to include this batch file and it places it in the same folder as the FE software. Is there a way to either a. create a shortcut to this file on the desktop as part of the installation procedure? or b.) move the batch file to the desktop as part of the installation procedure? The problem with the manual procedure is that the user must first unhide hidden files and show critical system files before they can access the FE files. I have a customer that is leaving for Vietnam on Friday where he will be installing it on several user's computers over there (the BE is located in California). He is not very computer savy and it makes me nervous sending him with a written procedure to move the file.
2. How can I replace the FE database with an updated database from within the database itself? When an update becomes available, I post it on the server and then each person must close the FE, click on the Update batch file (which copies the updated file to their local machine) and then reopen the file. I would like to create an update command button within the FE database itself that would do the same thing. Here is what I have in my batch file:
Code:
@ECHO OFF
xCOPY [URL="file://\\192.168.0.101\share\ims\GGIMS\GGIMS.accdr"]\\192.168.0.101\share\ims\GGIMS\GGIMS.accdr[/URL] "C:\Documents and Settings\%Username%\Local Settings\Application Data\IMS\GGIMS.accdr" /y
ECHO IMS has been successfully updated.
I don't know how I can accomplish this. Any help would be greatly appreciated!
Scott