Over 1 million tech questions and answers.

How to batch copy files from one folder to another.

Q: How to batch copy files from one folder to another.

hi all.!!

Actually, I want to help my elder cousin brother this time. He has been given a task to create a new folder and copy about 1600 photographs from a folder that contains about 3700 photographs. He has a list of the file names that he need to copy in a separate *.txt file.

He can do it manually by opening the main photograph folder searching for the filename and then copying that to a separate folder. But that would take a lot of time and efforts. I was wondering there must be a better way to do it.

It would be better if a command could copy the file name from the Text file, searches for it in the main photograph folder and when it founds the file matching the name then copies that file to a separate folder.

Is there any cmd command (Windows 10) or a Linux Bash command to do the job instead of doing it manually. If anyone knows a better way to do this then please do mention it as it will save a lot of time and efforts.

Thanks in advance.

Please excuse my English, as it is not my first language, I guess I was able to explain the problem. However, if any more detail is needed please do let me know.

Read other answers
Preferred Solution: How to batch copy files from one folder to another.

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)


I am a complete newbie when it comes to batch files and batch file software, so apologies in advance.

I've done some research on Google etc but I seem to just be getting more and more confused trying to use various different scripts and programs and reading different info on various websites.

This is what I need...

I have a folder with around 2000 files in it. I want to be able to copy certain files from this folder (normally around 40) and place them in a brand new folder, I want to be able to do this with nothing more than a txt file that has all the file names I need copying in it with every file name on a separate line.

I receive around 10 new txt files each day so you can imagine how tedious it is searching through 2000 files, picking out the 40 I need, 10 times a day everyday.

To make things even more complicated, the txt files I receive don't always have the correct file names in them, maybe there's a misspelling or a word or two missing for some of the names. That's ok when I'm going through picking out the files I need to copy myself because I can normally tell which file is being requested, but I can't see it being so easy for a program or whatever to do, I'm guessing it'll need to have a search feature where it picks out the most likely file.

I'd like it to be as automated as possible. I receive the txt file, make sure each file name is on a separate line then a program or script or whatever goes out and picks out the files (or most likely files f... Read more

A:search multiple files, copy+paste to new folder (batch file software?)

Contact Rent-A-Coder, Elance, or any of the other programming for hire sites. They could knock this out pretty quickly I would think.

Read other 5 answers

I have a folder on a network drive that I would like to copy to another location on another network drive. The source folder should copy over the destination folder, part of the path to the destination folder to be copied over changes based on the person who signs into the PC; OS is XP. This is what I thought would work but hasn?t. Any help would be much appreciated.

XCOPY ?\\Server Name\ Folder1\Folder to be copied? ?\\Server Name\%userprofile%\Folder\my documents\Same Folder Name As in The source folder to be copied over" /E /C /R /I /K /Y

A:Copy Folder batch File Issue

XCOPY ?\\Server Name\Folder1\SourceFolder? ?\\Server Name\%username%\Folder\my documents\DestinationFolder" /E /C /R /I /K /Y

Hope this helps

Read other 1 answers

I need help with a batch file to copy the contents of my source dir to the destination dir that is to be created with that days date using xcopy or robocopy. Any help is appreciated!

A:Need a Batch File to Copy to a Custom Dest Folder

This should get you started...

for /F "tokens=1-4 delims=/- " %%A in ('date/T') do set DATE=%%A-%%B-%%C
md c:\tmp\%DATE%
xcopy c:\output c:\tmp\%DATE% /s

Read other 4 answers

I am trying to write a batch file that will copy my backup files to another drive. For example I currently have the file backed up to C:\Backup\movie backup
I want to be able to copy it to an external HDD: -
X:\Backup Folder\Movie Library, however each time I do this it overwrites the previous backup file.
I want to be able to copy this backup to a new folder each and every time, as follows: -
Today’s backup file would copy to:-
X:\Backup Folder\Movie Library\backup 03-Jul-2010 .......tomorrows would go to
X:\Backup Folder\Movie Library\backup 04-Jul-2010 etc
Can anyone help. I have been looking all day and can't find anything.

Thanx in advance


A:Batch File to copy to Date Stamped Folder

Welcome to TSG!

Use "X:\Backup Folder\Movie Library\backup%date%" as the destination folder name in your batch file. The %date% variable will be expanded with today's date

Read other 2 answers

My vendor gave me 5000+ web addresses to pictures for products I want to list. My cart system wont allow me to bulk load these using these addresses. I can bulk load them if they are in a folder. Is there a way to batch open and copy them from the addresses to a file folder on my desktop?

A:Batch copy pictures from web addresses to a desktop folder

Welcome to the Forums.

Bulk Image Downloader - Free download and software reviews - CNET Download.com

Bulk Image Downloader Alternatives and Similar Software - AlternativeTo.net

Edit: Also stay tuned. Other poster may know of better or free alternatives.

Read other 1 answers

I have Office 365. (Is my Outlook 365 or 2013 or ?)?

Anyway, I have figured out how to export .pst files for backup/safety purposes. Is there a way to download all the information from each email account into 1 big file. I think Office 2003 allowed for this. 2007 I don't think did. I am wondering if there is a way to do it in my current version of Outlook?

Outlook gets my Comcast email, my Gmail emails, and some from my own domain. I just want to get the information from all of them at once and be done.

Thanks for considering my question.

A:Batch copy all Outlook 365 .pst files

try looking here: http://www.howtogeek.com/tag/microsoft-office/#outlook

if i recall correctly, you can have as many emails as you want going into one outlook account, there is probably a limit, but you should be able to get three or four anyway. once your email is in your outlook, it will always be there until you delete it or archive it.

to make sure, send yourself an email into each one of your accounts, make sure it shows up in your outlook (it may take a few minutes). then archive it, delete the test ones, and restore the archive to see if they come back. once you are satisfied that it all archives, you're set.

Read other 1 answers

I know there are solutions for this on this forum but I can't get any of them to work in my specific situation.

I have a program that cannot deal with ZIP files and I need to manually sort them out. What I can do is export a partial location for these ZIP files to a txt files so I have:


What I want to be able to do is create a batch file that will read the location of these files and copy them to a folder. The files are located on a network share but they r are mapped in My Computer. I can modify to the txt file so it gives the full path as a UNC path or a hard path.

I've been trying to get it to work using a For In Do statement but I don't know if that's the best solution. Help would be greatly appreciated. Thanks.


A:Batch file to copy files

If you need to replicate the folder structure you need to use xcopy or robocopy.
Posted via Mobile Device

Read other 2 answers

Hello all , i am new to batch programming.

I wish to have a batch file to read .apk file from folder and then copy it to another folder. Then it should rename the copied apk file to test.apk

i have a file in folder e:\apps\angrybirds.apk , I want to copy this angrybirds.apk to d:\apps and rename it to test.apk

Here the file names in the e:\apps\ will be changing. So what ever may be the name , it should read the name of the file from e:\apps\ folder , copy it to d:\apps\ and rename it to "test.apk" . Test.apk is a fixed rename

A:Solved: Batch file to copy a file from folder and rename it in another folder

Read other 12 answers

Hi all,

To increase our backup solutions, we have decided to backup our SQL database every hour to a folder within the C drive (we couldn't get it to backup straight to a USB drive). So now we need a way (batch file best solution?) to copy these files to the USB drive, lets say every 1.05hours just after they've been created?

Maybe we could copy the entire folder every hour and delete old backups that are in this folder and to the new place for the backups. (although I guess it won't work as it'll have the same folder name once it has been copied).

Or copy the individual files to that new folder although with this they have all different names so is it possible to copy the newest file to the new folder and then after this delete the old backups from a certain time frame?

Big thanks for your help!

A:Batch file to copy files from C drive to USB

REM Creates a Backup of files every hour
@echo off
XCOPY <source path> <destination path> /w /f /-y
TIMEOUT /t 3600 /nobreak
goto start
This might work, I'm no expert by any means, but the batch file should copy all the files, and then pause for a hour, and then loop back to the start and complete the same process again.

Here's what the XCOPY switches mean - http://www.microsoft.com/resources/d....mspx?mfr=true

Read other 9 answers

Hi ,

I am very new to windows.

I wanted to know how to copy the files from Linux to Windows using script ? Not all the files but only selected file pattern.

Like I want to copy all the files with today's date ( abc02152013abcd , xyz02152013mno ..) from Linux Machine A under the path /usr/tmp to windows machine path Z:test/

Any help in this regards ?

Read other answers

I want to write a batch file that do this for me:

- makes a directory with the "yy.mm.dd.hh.mm" as the directory name,
- copies files and folders from a TEST directory to above destination,
- copies only new (or modified) files from the TEST directory to a separate folder.

Any Idea?

A:a simple batch file for copy files and folders

To create a directory with the date and time as the name, In a batch file use:

set DirName=%date:~-4,4%.%date:~-7,2%.%date:~0,2%.%time:~0,2%.%time:~3,2%
MD \%DirName%

Then in the same batch file use robocopy to copy files to the new directory

robocopy TEST %DirName% /e

you need to add your own paths and read the robocopy help for the right switches you need.
By default Robocopy copies only files that don't exist in the target directory but because you are creating a new directory every time it will copy every thing in TEST

You could use the /A switch which only copies files with the Archive attribute set.

Read other 3 answers

I'm running vista on my computer and would like to be able to copy all log files containing the keyword "error" to a folder called "error logs"
thanks in advance

A:How to make a batch file to copy files containing a certain keyword

Welcome to the forum.

use the 'good old msdos' command find

Open command promt en type find /? this will help you see the syntax

Read other 1 answers

Hi all,

I need a batch file (code) to copy files from last month and zip it for archive. Can somebody help me please?


A:batch file to copy files from last month to archive it.

Read other 8 answers

I require a batch file or free utility that i can redistribute from my web site to other users, (gamers) that will copy the contents of a directory inside their game to a new location and re-name the directory at the same time. Something like this;

Copy "Genesis\Vehicles\truck\diesel\4tonbaker" to "Genesis\Vehicles\truck\diesel\4tonbutcher"

The batch file needs to be run without the need for a command line box being opened, that is, if the user can double click on it or run it with a 'right click' that would be great. Problem there is, I maybe need an exe file not a batch file. The other part of the problem is that the folder to be copied may or may not be in the same location on every PC that runs the file. It may be the case that the 4tonbaker folder is on;
C:\Genesis\Vehicles\truck\diesel\4tonbaker or
D:Genesis\Vehicles\truck\diesel\4tonbaker or even

and I require the end user to have no need to know, just for the directory to be copied and renamed when and where it is found.

If possible I then want the batch file to perform a second task. I want to distribute a folder, lets say it is 4tonbutcher and in that folder there are files lets say doc1.txt, doc2.txt and doc3.txt

On any given users PC 4tonbaker has these same named files but the content is different to the ones in my folder 4tonbutcher, I want to update the newly created folder, 4tonbutcher with the new txt files I d... Read more

A:Batch file or Exe to copy & rename directory and update files

Sounds like you need a windows shell program, I'm not expert enough to help you with this

Here's a nice tutorial:

Win32 Shell Scripting Tutorial

Off topic: this is trivial to do in UNIX, I can whip up a shell script for that in no time...

Read other 1 answers

xcopy "c:\alpha\aadfw\mainv10\*.*" "d:\folder named todays date" /y/d/e
the batch file needs to create the folder with today's date and then copy to that folder

Read other answers


I recently suffered an SSD failure, but luckily i was able to recover the files using @active's boot disk. The issue is that the files i recovered require that their file names be long, @active saves them as short file names due to DOS limitations, and creates a batch file that i can run to return them to their previous (long) name.

The issue is i have over 500 folders, and this will take a very long time.

Is there away to run all batch files in a folder (including subfolders) or is there a way to run all batch files with a certain name? (they are all named !_RENAME.bat).
Any tips or ideas would be appreciated!

A:Run all batch files that exist within a folder?

See the /R switch in For command for command prompt

Microsoft Corporation

The way to get them all would be to put the folders all underneath one folder. Like C:\MyBatches or something.. if they are not already under one root folder. Open a command prompt in drive C: then do
cd \MyBatches
for /R %s in (*.bat) do %s

Edit: Also you can look in the .bat. If it is a simple command to change to long filenames you can do it directly. But since the bats are already there... I would sample a few and make sure there's nothing that looks dangerous like del *.* or anything suspicious.

Read other 1 answers

Hi all,

I need to execute the Windows command:

metaflac --dont-use-padding --remove --block-type="PADDING" Filename.flac

For every file in a folder, including every file in the subfolders! (Two levels of subfolders.) The file name extension is as mentioned above .flac.

I understand a batch file is the best way to accomplish this, but what should it contain?

Many thanks!

A:How do I write a batch file for all files in a folder?

Read other 6 answers

Wanted to see if any one here wouldn't mind writing a batch file or script that would move multiple files to a target folder. Here are the specifics:
HDD1 Contains Folders A,B,C,etc...
Folder A contains Folder A1 which contains File A2
Folder B contains Folder B1 which contains File B2
Folder C contains Folder C1 which contains File C2
Folder D contains Folder D1 which contains File D2
Folder E contains Folder E1 which contains File E2
Folder F contains Folder F1 which contains File F2

And what I need to do is move A2,B2,...F2.. to the drive root.

This would really save some time over moving these files manually, because they're numerous.
Or if you know of any utilities that can do this, please let me know

A:Batch file for moving files to folder?

I am assuming that these all folders are in X drive

such that your file A2.xxx is in X:\Folder A\Folder A1

move "X:\Folder A\Folder A1\File A2.xxx" X:\
move "X:\Folder B\Folder B1\File B2.xxx" X:\
move "X:\Folder C\Folder C1\File C2.xxx" X:\
move "X:\Folder D\Folder D1\File D2.xxx" X:\
move "X:\Folder E\Folder E1\File E2.xxx" X:\
move "X:\Folder F\Folder F1\File F2.xxx" X:\

save it as bat file.
If you are using windows 7 than open the file in Administrator mode.

I hope it will help

Read other 9 answers


My temporary folder has been have batch files created in it every 15 seconds or so. My mouse is the arrow with the busy circle at 2'oclock of it constantly, so something is running. I checked my processes and they seemed to all be normal. I updated everything including windows.net 4 so I don't know what else to try :| Any help or ideas would be greatly appreciated, thanks!

Edit: it is Windows 7 64bit Home
i3 Processor w/ 4gb ram
And the batch files all have been 6 digits numbers increasing in numbers so it would be like 178521 and the next one would be 178762 etc.

Edit edit: There are two conhost.exe running, don't know if that has anything to do with the issue

A:Temp folder getting filled with batch files

Start Task Manager. Click Processes Tab. Make sure the check box at the bottom that says "show processes from all users" is checked. Post a screen shot.

Windows 7 Forums - FAQ: Reading and Posting Messages

Read other 6 answers

I need to create batch that will look in a folder that contains a 1000+ files and need it to highlight or do something so i can be able to distgunish which key words from the file actually exist in the folder, the files that exist are based on key words "the key words are numbers", each file in the folder contains these keywords and on each file name the key words are indexed at 0-3 from left to right, so its the first four characters. and i have them saved in a txt one per line

A:Finding numerous files in a folder using a batch

It sounds like a homework assignment.

I'm not sure I get the bit about the filename numbering. But if you need to search the contents of the files for words I would try some Windows version of Grep. There are free ones out there for download.

Read other 1 answers

Does anyone know of a way to do this...

I have a bunch of files under a main folder... call it.. "FolderX".. under folderX are sub folders.. say... "Folder1" "Folder2" etc.. under those folders are "Folder1B" "Folder1C" etc...

I want to move files out of those subfolders and into the root of folderX..

I'm guessing a vbs script could be written but i'm not sure on this?

Anyone have any examples of how to do this?


Read other answers

I'm new to batch coding, so I was hoping someone could help me out. I need to read several .txt files and search them for a specific string, lets say "key1" and "key2." If the file has key1, then it needs to be moved into directory1. If the file has key2, then it needs to be moved to directory2. There's no telling ahead of time what line the string is going to be on, so I'm guessing I could use "Find" to search for the key? Then how do I loop through all the files, read them, then sort them into the different directories?
Any help is much appreciated!

A:Batch code to read, then move files from one folder to another

I think that might be easier to do with a PowerShell script, though I'm no help on either of these subjects, I'm afraid.

Have a quick Google/Bing around for PowerShell scripting - I wouldn't imagine this is very difficult for beginners (the scripting, not Googling )

Read other 1 answers

I have about 400 video files in a folder but I need to put each one in its own folder so I can use the jukebox function on my media player. Is there any way it can be done without having to transfer each file to an individual folder one by one?

A:Is it possible to copy individual files in a folder to its own folder?

Why have you duplicated this thread that you've marked as solved? Is it possible to copy individual files in a folder to its own folder?

Read other 4 answers

I have about 600 files in a folder but I need to put each one in its own folder so I can use the jukebox function on my media player. Is there any way it can be done without having to transfer each file to an individual folder one by one?

A:Is it possible to copy individual files in a folder to its own folder?

Are you talking about mp3 files in a folder and moving them into individual folders? If yes - then I could help.

Read other 4 answers

I just downloaded all of the Google Web Fonts and they were each downloaded into their respected folders, so instead of clicking on folder after folder and right clicking after right clicking and finally installing each and every font;

How can I create a command prompt (batch) file so the prompt can search the main folder where all the font folders are, grab any and all TrueType Font files and move or copy them into another single folder?

A:Custom batch file that copies font files to another folder?

It seems like it would be easier to search by the TTF file extension.

Copy the results where you want them.

Read other 3 answers


I found a usefull Macro in this book (Excel 2007, Power Programming with VBA by John Walkenbach, Page 832). You can chose a Folder and It displays the path and the name of all the Files in a Worksheet.

I'm trying to Do a Batch Processing of all the files I get with the ListFiles() Macro I but I can't get it to work. I also found some help on this Site.

This is the Code that lists all the files of a Folder.
Option Explicit
'32-bit API declarations
Declare Function SHGetPathFromIDList Lib "shell32.dll" _
Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal pszPath As String) As Long
Declare Function SHBrowseForFolder Lib "shell32.dll" _
Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long

hOwner As Long
pidlRoot As Long
pszDisplayName As String
lpszTitle As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type

Sub ListFiles()
Dim msg As String
Dim Directory As String, f As String
Dim r As Long

msg = "Select a location containing the files you want to list."
Directory = GetDirectory(msg)
If Directory = "" Then Exit Sub
If Right(Directory, 1) <> "\" Then Directory = Directory & "\"
r = 1
' Insert headers
Cells(r, 1) = Directory
Cells(r, 2) = "Size"
Cells(r, 3) = "Date/Time"
Range("A1:C1... Read more

A:Solved: Batch Processing of Files in a Folder using ListFiles Macro

What I got until now is this:

Sub BatchP1()
Dim PathName As String
Dim filename As String
Dim TabName As String
' This macro will import a file into this workbook
PathName = Range("A1").Value
filename = Range("A3").Value
TabName = Range("A3").Value
Workbooks.Open filename:=PathName & filename
ActiveSheet.Name = TabName

End Sub
Click to expand...

I can open one of the workbooks from my created Workbook list. But I could need some Help with the loop....
The Path were the workbooks are stored is in cell A1 and the listed names start at A3 until Axxx

Read other 2 answers

Hello! Thanks for looking into this thread.

To make a long story short, I have a new HDD with not much on it, and I have an old HDD with all my other stuff on it. :)

Some of that stuff is located in the 'Temporary Internet Files' folder. Game saves on online gaming sites such as Armorgames.com etc.

It allowed me to copy from the 'Temporary Internet Files' folder onto a USB easily and without trouble. Whereas when I put my USB on the other computer, and try to copy them onto the Temp Internet Files folder of my new HDD, it just does not give me the option to.

I've looked into this a bit, and have discovered that there is no physical folder. I've gone to where I am supposed to, the Document Settings -> Local Settings ect. and it's not there. I guess that's the technical reason why it won't let me copy files to there, because there is no physical folder.

What I am asking is: Is there a way to copy files 'TO' the 'Temporary Internet Files' folder?

I emphasise the 'TO' as I've only seen information on google in regards to copying files 'FROM' the 'Temporary Internet Files' folder.

I hope you folks can help me out on this one. :)



A:Copy files 'TO' the 'Temporary Internet Files' folder


It is not that easy as IE stores TEMP file is multiple locations.

They could be stored in user temp files or in SYS files

Read other 1 answers

My files have a format of "ID_date_time.d7d?
Ex: 11111-5_2013_10_07_142149.d7d
The ID is 1111-5 and was tested 10/7/2013 at 2:21:49 PM and the file extension is always .d7d

The local files are automatically saved here by the program generating the data:

I want them copied to the following directory:
E:\common\UserGroup\UserLocation\Test Data\(ID)
For the above example, it would be copied to: E:\common\UserGroup\UserLocation\Test Data\11111-5

Then, upon successful completion of copying the file, I want the file moved to:
C:\IDArchive\Data\Old Data

Then the file should be removed from the original Local folder.

I can do most of this with a batch file, up to the point where I match the file in the Local\Data folder to its proper destination using its ID number. I need to pull the ID number out of the file name and use it to identify its destination - all of the destination folders already exist. I can't figure out the correct code in the batch file to find the ID number and then extract and match it to its folder.


A:Move files from original folder to existing folders - w batch file?

Hi Jordansl,

Here's a full solution to the task you mention. A double For /F loop is used to extract this ID from each file name.


@echo off

REM For each file in %source_location%, copy it to
REM %copy_to%\*ItsID*, then move the file to %move_to%.

set from_source="C:\Local\Data"
set copy_to="C:\common\UserGroup\UserLocation\Test Data"
set move_to="C:\IDArchive\Data\Old Data"

pushd "%from_source:"=%"
for /f "delims=" %%A in (' dir /a:-d /b %from_source:"=% ') do (
for /f "tokens=1 delims=_" %%B in ( "%%~nxA" ) do (
for %%C in (%COPY_TO%) do (
if exist "%%~fC\%%~B"\* (
copy "%%~fA" "%%~fC\%%~B"
) else (
echo.& echo A destination directory for the file '%%~fA' does not exist.
echo Would you like one to be created for it with the file '%%~nxA' copied to it?
echo If N, the file will not be copied or moved.
choice & if not errorlevel 2 md "%%~fC\%%~B" && copy "%%~fA" "%%~fC\%%~B"
if not errorlevel 2 move "%%~fA" "%MOVE_TO:"=%" || echo.

Read other 1 answers

0 down vote favorite
I want to run a batch file that would delete files in a folder (and its sub folders) that are older then 30 days. I'm somewhat new to scripting so any help would be appreciated. The path to the folder is "C:\Documents and Settings\user profile\Application Data\Program\Program\folder\company name" That folder has many random sub folders - I need the batch file to delete any file in those subfolders older then 30 days.
Is this something that can be done with a batch file or would I need a higher level script - like vb scripting?

A:batch file to delete files in a folder and sub folders older than 30 days

Looks like Endoro has you covered on SO. He is very good at what he does. He is using FORFILES which is the perfect utility for this.

Read other 1 answers

Hi , Im using win7 64 ultimate . A program I use installed in tne (x86) folder runs OK and I can save and delete files from within the program but I cannot see these files from Windows Explorer to make a backup . The files display the infamous yellow lock icon (from within the x86 program) and I cant change this no matter how far I go into the owner/permissions rigmarole .
Anyone have any clues?

A:cant copy files from (x86) folder

have you tried the advanced settings in the permissions properties ,
there is a checkbox to adopt the parent folders permissions or words to that effect.

Read other 1 answers

I'm trying to copy files from my documents into my CD folder but it won't let me copy them. I'm using Windows XP Professional and I looked up info about permissions but still having no luck. It says "windows encountered a problem".

A:I can't copy files into my CD folder

It's not recognizing the blank DVD-R's that I'm putting in.

What kind of DVD's should I get? It's one of those with Lightscribe technology and it's on a compaq presario sr5130nx computer .

I got DVD-R's from Fuji and E-gear and neither are being recognized. It recognizes CD's though. Or is it the software? I'm running Windows xp professional. When I was running Windows vista, it recognized the e-gear long enough to make recovery cd's.

Read other 4 answers


I need help to create an Excel macro that would

1. ask users to select x number of rows to be copied from one worksheet of one Excel file
2. once users have selected the rows to be copied, then the rows are copied from the one original Excel file into X number of target Excel files

the target Excel files are all based on the same template
there is one worksheet in each of the target Excel files

in the target files, the rows should be copied from the first available empty row, going down

Looking forward to your help!

Thanks a lot.

A:Macro needed to copy x number of rows from one Excel file into a batch of Excel files

Hi, welcome to the board.
Not much info there to get the correct picture.
Sample? Of source and template please
And not to forget, what version of Excel are you and the users using?

Read other 1 answers

I have a large collection of car photos spanning several years and growing, +300,000. I am now trying to combine them by year of make. There are many files with the same name like "1930 CarMakerName." I cannot take the time to review every conflict at transfer time, much quicker and easier to see them in an Icon view.
Is there any way to have them automatically renamed like every other previous version of Windows that I have used?

A:Copy files to a folder, how to rename to name(2) like in 7

When there are files names conflicting, click on let me decide for each file. It will show all the files like this :

To get all files renamed check both folders at the top and it will rename them automatically like you want. It is slower than the old system though, more clicks involved.

If you really miss the old explorer features, you could try PerigeeCopy, it brings back the old way of copying/moving files to Windows 8. It's free (open-source). And here is a review/guide about it : Queue copy and move operations in Windows with PerigeeCopy | Winaero

Or you could try an Image Organizer, they are usually designed just for this task, and usually give much more options than the simple File Explorer. I haven't used ACDSee in years, but back then it was very good at this sort of thing. I prefer IrfanView, it's free and has some amazing batch capabilities, it can automatize crop/resize/convert/and much more on multiple images just in a few clicks.

Here is a pic of Irfanview's batch window :
and here is one of the Thumbnail Viewer :

Read other 2 answers

Hi All

i want to move few files which have some account numbers in common to another folder kindly help me as to how can i create a batch file for these

A:copy some files from one folder to another using batchfile

This isn't a Vista issue. You're talking about DOS batch programming. Just look up tutorials on-line for this topic, specifically on the "move" command. If you go to the command prompt (cmd) and type in "move /?", you'll get a brief detail about the format of the command.

Read other 2 answers

Hi All,

What I'm trying to achieve is this:

Watch a folder, including the subfolders, and whenever a file over a certain size appears, copy that automatically to a different location.

So for example, if the folder structure is C:\watch folder\sub folder1\File I want It will go to C:\Destination folder\File I want.

Is there an easy way to do this? Would also be good if it could be scheduled to only do this at night. I think this is fairly easy, it's only the subfolders part that might cause problems.


Read other answers

Need to COPY [full CD of files] to folder ...

A:How COPY files, (filling CD)->folder

Hello Bos, and welcome to Seven Forums.

You could right click on the CD in the "Computer" window, click on Copy, right click on the folder, and click on Paste.

Hope this helps,

Read other 4 answers

In Vista one could move files within a folder to whatever location manually simply by dragging the file to the desired location within the folder. In WIN7 everything seems to be locked and moving a file (for example image file) to the end of a row of other files within a folder won't work. How to solve this. Any setting I overlooked?

A:Cannot move/copy files within folder

They don't give you that option in Windows 7 yet and not sure if they will in latter builds either.

Read other 2 answers

Hi everyone..

I am in a bit of trouble here. I have 1000+ collection of movies. All these movies are mixed, some are in SD format avi, and some in full HD mp4 format. All these movies are located under one folder, My Movies Collection. Underneath it, all the movies have their own respective folder for example Movie Title 1, Movie Title 2, and so on. Under all this Movie Title X, there are the files (Movie title.avi/mp4,movie title.srt,etc). I am using Media Center Master software to automatically create the folder and rename all the movies accordingly.

Now I am planning to separate these movies to 2 SD and HD folders. Therefore under the My Movies Collection folder, there are 2 folders My Movies SD and My Movies HD. Since the files/folders are more than 1000+. it is quite hard for me to differentiate between which folders having the avi, or which one having the mp4.

Could you guys suggest is there any 3rd party tool to help me on this matter? Or built in Windows apps? Just now I tried using Windows 7 search function *.avi, but when I move the files onto the My Movies SD folder, only the file is being moved, not the whole folder.

I would be very grateful if you guys can help me on this.

Pardon me for my English since I am from Malaysia.

Cheers guys!!!

A:How to move/copy files together with it's folder

TSR Copy Changed Files

This software will copy the files and re-create the folders. You can filter by file type too.

Read other 1 answers

I have a networked folder at work. It is our scan folder, so if we scan something on one of our multiuse printers, the file is sent to this folder and then anyone on the network can access it from their PC.
When I go into this folder to retrieve a file, I click and drag it from the network folder to the area on my computer where it will remain, but the original file stays in the network folder. I'd really like to configure the settings so that the file will move, not copy, but I don't know how to do this. Any help is appreciated.
Hope this makes sense...it's 4 PM on a Friday so my brain isn't working at its peak

A:Need files in folder to move, not copy...

Does your user have permissions to delete/write on the shared folder?
Where is the shared folder created (windows server, Linux server, NAS, etc.)?

Read other 8 answers

I recieved an exchange of my tower from the manufacture... the mother board had burned up... Both OS windows XP, old one was Pro new one Home

I connected the`Primary drive that was in the old tower as cable select in the new system and copied over most of the files I needed ... except for one folder in the path Documents and settings

.. as you know this folder contained my Desktop, favorites and files and folders that were on my desktop.

When trying to copy this folder I get the message: "F:\Documents and Settings\Tim is not accessible Access denied."

I'm assuming for the moment that I get message when trying to copy these over because I had my user account password protected, but I haven't been able to find a work around, and neither can the techs at Dell, anyways ... I can't be the first person to have this problem.... any clues?? going safe mode and trying to access it in Adminstrator account didn't work

A:Copy PW protected folder/files to new system?

There are 2 ways that I would try.
The first and easiest would be to recreate same user account with same password.I imagine you may have already tried tho.
The second,somewhat more of a pain,is to change old drive back to primary.
If it was me,I would do that anyway as I prefer xppro.If you don't,you should at least be able to access and copy needed file this way.
Good Luck,
Mike Hanson

Read other 1 answers

I have numerous family genealogy files/folders on a thumb drive that I want to copy to an existing folder on a HDD, but when I attempt the process it starts and stops at an annoying number of files that are reported to have file names that are too long. Even after I shorten them I still get the same error message and the file will not copy.
Is there a way around this issue?

Any assistance would be appreciated


A:Unable to Move or Copy Some Files to a Folder

You could try using this : Long Path Fixer - Download

Read other 1 answers

i want to be able to copy files to anoher drive with out losing info like "date created"

if i just copy and paste that info is changed to the date i copied and pasted

any ideas?


A:How to copy files to another disk and keep folder info?

I think zipping the file will keep the data forks.

BTW Go Soxs.

Read other 2 answers

Ok so I recently downloaded a giant ZIP file that contains all the material I'm going to need for my college course. I come to find after unpacking the ZIP that each individual file is, for some reason, split up into subfolders. I was wondering if it's possible to compress/compile all the folders and their content into one single folder.

Thanks for the help

A:[SOLVED] Copy files from multiple sub-folders to 1 folder

Hi -

Create the new destination folder (this example = k:\1folder).

This command copies all files found in c:\test to k:\1folder.

Bring up elevated cmd/DOS prompt -
START | type cmd.exe | RIGHT-click on cmd.exe above under "Programs" | select "Run as Administrator | Paste this command -


for /f "tokens=*" %a in ('dir /b /s /a-d "c:\test"') do @copy "%a" "k:\1folder"
Change origin and destination folder names.

Regards. . .



Read other 3 answers

I have categorized folders of thousands of pictures and every once in a while I need to sort through and certain files for a specific project. The way I've been doing this is to select one file at a time or if there happens to be a consecutive run of pictures I can grab the whole group and then copy and paste.

Is there a way to select one file and then select another file three files away and then another file ten files away? In other words highlighting and selecting non consecutive files to copy and paste. I'm thinking that Windows must have the capability to do this and I just haven't found the trick yet. Every time I do a search online all I find are instructions on how to select consecutive files.

A:How do you select non consecutive files in a folder to copy and paste?

Yes, press and hold down the Ctrl key, then select all the non-consecutive files you wish. Once selected you can then copy & paste or drag & drop them to wherever you wish.

Read other 3 answers


I need to figure out a Windows 7 script to copy/archive files which are located in a specific folder. It needs to copy daily to an archive folder, with the script creating the archive folder as MM-DD-YY (being that day's date that is being archived) before it archives the files to that folder. The script will run at 9:00 pm every night, the time all work ceases.

If anyone could help me with this script, I would appreciate it.

A:How to script a daily copy of files w/dt being name of archive folder

If the archive was going to be D:\MyArchives and the source was C:\Users\youruserid\SomeFolder:

for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find "."') do set "dt=%%a"
set "YYYY=%dt:~0,4%"
set "MM=%dt:~4,2%"
set "DD=%dt:~6,2%"

set datestamp=%MM%-%DD%-%YYYY%
echo datestamp: "%datestamp%"

md D:\MyArchives\%datestamp%
xcopy C:\Users\youruserid\SomeFolder\*.* D:\MyArchives\%datestamp%\ /s/h/r/i/k/e/y

Enter xcopy /? from a Command Prompt to see what the parameters mean.

Above found in a post by foxidrive here: Format date in Windows 7 batch job - Stack Overflow

Read other 3 answers