473,498 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transferring files automatically

I'm trying to figure out a way to automatically transfer the entire
back end db folder from a laptop to a network drive so it can be read
by another user. I need to overwrite the existing folder in I:\ with
the C:\ folder. The folder contains linked photos along with the back
end db. I can back up just the db by calling the following from the
autoexex macro:

Kill "I:\backend_db.mdb"

DBEngine.CompactDatabase "C:\backend_db.mdb", "I:\backend_db.mdb"

which works great, but obviously doesn't do anything with the jpeg
files within the folder. Any suggestions would be appreciated.
Thanks in advance.

Brian
Nov 12 '05 #1
1 1727
You could create a batch file that invokes does something like

COPY C:\*.jpg I:

and use Shell to run it.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

"Brian" <br************@ci.verona.wi.us> wrote in message
news:21**************************@posting.google.c om...
I'm trying to figure out a way to automatically transfer the entire
back end db folder from a laptop to a network drive so it can be read
by another user. I need to overwrite the existing folder in I:\ with
the C:\ folder. The folder contains linked photos along with the back
end db. I can back up just the db by calling the following from the
autoexex macro:

Kill "I:\backend_db.mdb"

DBEngine.CompactDatabase "C:\backend_db.mdb", "I:\backend_db.mdb"

which works great, but obviously doesn't do anything with the jpeg
files within the folder. Any suggestions would be appreciated.
Thanks in advance.

Brian

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1900
by: Abby | last post by:
I have an application that is written in php/mysql on a Linux platform and need to transfer hosts. This is a session based application and I don't know a lot about php/Linux/mysql, but can get by....
3
1799
by: phong.lee | last post by:
Hello all, i'm new at this. I need some assistant in transferring data from excel to access. I created a macro that basically gather all the necessary data that i need to bring into access. I...
24
2238
by: Joseph Geretz | last post by:
Up to this point, our application has been using Windows File Sharing to transfer files to and from our application document repository. This approach does not lend itself toward a secure...
2
1533
by: Rani | last post by:
hi guys I don't know if this is the right place for it but I created 2 pages in page one there is a text box in which the user enters his name, in page 2 there is a the same text box. I would...
2
1539
by: Dino | last post by:
dear all, i got this script form a customer. in general, it recieves data which is send via http to a server and generates a .xml file from this data. because i'm not familar with .asp, i'm...
3
1670
by: JayD | last post by:
(Not sure whether it is a general aspnet problem or a specific security problem, hence posting it in 2 groups). This will solve for us a number of problems. I have developed a website on my...
2
1626
by: Tommaso Caldarola | last post by:
I'm using a Remoting to manage small set of data, now the customer wants to transfer big binary files (up to 10 Gb) between 2 computers. It's better to use socket or other technology or I can...
5
3258
by: meetalps | last post by:
Hi All, Can you please help me with a step by step procedure to transfer files from my PC to DB2-AIX and vice versa. I am new to both. Example transferring a sql file to run from PC to DB2 on AIX....
2
1816
by: cbs81 | last post by:
hi all, problem: transferring data from workbooks that are stored in a particular directory from excel to a table in access. when done, the workbooks that have been processed are automatically...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7162
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.