Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Tips & Tricks
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
how to batch copy files in folders

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
godfather_77's Avatar
Junior Member with 4 posts.
 
Join Date: Nov 2007
18-Mar-2008, 04:24 AM #1
how to batch copy files in folders
Hello all, I hope this is the right forum area. I have a lot of folders containing files. i would like to extract all the files from these different folders into one folder. I know how to do it the click and open way but that takes a long time. Is there program or method of selecting folders and choosing to extract the contents without having to open it? In a sense I am asking if I can open all the selected folders as a batch. Sorry if this is a stupid question.
I am using XP SP3
Elvandil's Avatar
Computer Specs
Moderator with 36,830 posts.
 
Join Date: Aug 2003
Location: Vermont
18-Mar-2008, 04:49 AM #2
devil_himself's Avatar
Distinguished Member with 4,921 posts.
 
Join Date: Apr 2007
Location: India
Experience: Advanced
18-Mar-2008, 07:58 AM #3
Here's A Batch File

Code:
@echo off
setlocal
set source=c:\source
set dest=c:\dest
pushd "%source%"
for /f "tokens=*" %%a in ('dir /b /a-d /s 2^>NUL') do copy "%%a" "%dest%
popd
n2gun's Avatar
Distinguished Member with 4,312 posts.
 
Join Date: Mar 2000
Location: Central Pennsylvania
Experience: Advanced
18-Mar-2008, 12:21 PM #4
Also you can go to folder you want to copy hit ctrl-a (select all) then ctrl-c (copy) then go to folder you want to copy them to and hit ctrl-v (paste) This should copy them in that folder for you.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:31 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.