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 acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
how to batch copy files in folders

Reply  
Thread Tools
godfather_77's Avatar
Junior Member with 5 posts.
 
Join Date: Nov 2007
18-Mar-2008, 05: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 48,924 posts.
 
Join Date: Aug 2003
Location: Vermont
Experience: "Been through the mill."
18-Mar-2008, 05:49 AM #2
devil_himself's Avatar
Distinguished Member with 4,922 posts.
 
Join Date: Apr 2007
Location: India
Experience: Advanced
18-Mar-2008, 08: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
Senior Member with 4,318 posts.
 
Join Date: Mar 2000
Location: Central Pennsylvania
Experience: Advanced
18-Mar-2008, 01: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.
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:21 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.