Is there a way, using code, to copy files from one location to
another? I have a table with the filenames so, having defined the path
to the folder, I then need to copy the relevant files and paste them
into a new folder. Any ideas please? 4 5535
"anthony" <an*************@gmail.comwrote in message
news:13**********************************@k30g2000 hse.googlegroups.com...
Is there a way, using code, to copy files from one location to
another? I have a table with the filenames so, having defined the path
to the folder, I then need to copy the relevant files and paste them
into a new folder. Any ideas please?
Check out the FileCopy statement in help.
anthony <an*************@gmail.comwrote in news:13bca13e-a92c-4702-ab27- 81**********@k30g2000hse.googlegroups.com:
Is there a way, using code, to copy files from one location to
another? I have a table with the filenames so, having defined the path
to the folder, I then need to copy the relevant files and paste them
into a new folder. Any ideas please?
Copy
FileCopy "C:\Users\lyle fairfield\Documents\Excel\ks959.zip", "C:\Users
\lyle fairfield\Documents\Access\ks959.zip"
Move
Name "C:\Users\lyle fairfield\Documents\Access\ks959.zip" As "C:\Users\lyle
fairfield\Documents\Excel\ks959.zip"
On 24 Jul, 11:33, "Stuart McCall" <smcc...@myunrealbox.comwrote:
"anthony" <anthony.marr...@gmail.comwrote in message
news:13**********************************@k30g2000 hse.googlegroups.com...
Is there a way, using code, to copy files from one location to
another? I have a table with the filenames so, having defined the path
to the folder, I then need to copy the relevant files and paste them
into a new folder. Any ideas please?
Check out the FileCopy statement in help.
That is just the ticket. Many thanks!
On 24 Jul, 11:56, lyle fairfield <lylef...@yah00.cawrote:
anthony <anthony.marr...@gmail.comwrote in news:13bca13e-a92c-4702-ab27-
810fe2495...@k30g2000hse.googlegroups.com:
Is there a way, using code, to copy files from one location to
another? I have a table with the filenames so, having defined the path
to the folder, I then need to copy the relevant files and paste them
into a new folder. Any ideas please?
Copy
FileCopy "C:\Users\lyle fairfield\Documents\Excel\ks959.zip", "C:\Users
\lyle fairfield\Documents\Access\ks959.zip"
Move
Name "C:\Users\lyle fairfield\Documents\Access\ks959.zip" As "C:\Users\lyle
fairfield\Documents\Excel\ks959.zip"
Thank you so much Lyle This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dan |
last post by:
We debug a VB.Net App that uses compact framework to a DAP Windows CE.Net
device.
When I debug I would like to only have the EXE copied down. Right now it
copies any referrences as well and...
|
by: Bill Rust |
last post by:
I have a component that needs to access files which exist in the same
directory as the DLL containing the component itself. To determine the
component's installation directory, I'm using...
|
by: Aaron Masten |
last post by:
Is there any way to force traffic from a particular Class C IP Subnet to the
Cluster Controller. The main reason I am asking is that we have a custom
ASP.NET Application that is hosted on the a...
|
by: Jim Heavey |
last post by:
I have written a little application which copies files from one location to
another location.
Before it copies the file, it ensure the directory for both the from and to
locations is valid. It...
|
by: Jerad Rose |
last post by:
I have a fairly simple C# console app which copies files from a network
folder to a local folder. When the app resides on my local C: drive, it
runs just fine. However, when the app resides on a...
|
by: jatphat |
last post by:
Somebody help me.
How do i copy my Access database from one location on my hard disk to
another .
i tried file.copy(source, distination ) but the file would not move.
i always get this error ...
|
by: Alan Bak |
last post by:
HI
I am running Active Perl on a Windows XP machine.
I am hoping to get some advise on a strategy to monitor and copy files that are arriving in a directory and need to be copied to a second...
|
by: AmyHanson |
last post by:
I am new to mobile development and am having some trouble sources for the tasks I need to perform.
I have been looking around and I can find plenty of information on copying the file initiating on...
|
by: Mike P |
last post by:
I have been asked to create an application that copies folders on a
network from one location to another, based upon a text file on the
network that lists folder name, destination, and copy...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |