Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch Install File

Status
Not open for further replies.

Minkers

Technical User
Dec 15, 2004
70
US
I am using an auto-updater to keep my FE current wihtout the user doing anything. I have the auto-updater (an mdb file) preconfigured, but I would now like to create a batch program to move the files over to the user's computer and then "Install" them, placing them in the right areas. Can this be done, and how ould I do it?

TIA
Minkers
 
If you use a batch file, I believe it will have to reside on the workstation and be called by the workstation. But, I would like some clarification before we delve into your project.

Is it the "auto-updater" mdb that you want to copy and install on the workstation or are you trying to copy and install your db front-end?
 
Is it possible to use the batch file to copy a file from a server location?

It is an autoupdater mdb that will go on the desktop, and the Front End mdb and mousehook.dll that will go in C:\ECNDATABASE\

Thank you much!
 
Yes, you can use a batch file to copy from a server. It would work best if the server location is a mapped drive. Then the batch file would simply copy from one drive to another
Code:
copy G:\UpdateMDB\[i]MDB Name[/i] C:\ECNDATABASE\[i]MDB Name[/i]
If not a mapped drive UNC path should work
Code:
copy \\[i]computer name[/i]\UpdateMDB\[i]MDB Name[/i] C:\ECNDATABASE\[i]MDB Name[/i]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top