There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios boot browser bsod computer cpu crash css dell desktop driver dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware help please hijackthis hjt install internet internet explorer itunes javascript keyboard lan laptop malware monitor msn network networking openoffice outlook outlook 2003 outlook express password popups problem router seo slow sound sp3 spyware startup trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless word
Tech Tips & Tricks
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
how to batch copy files in folders


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
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
Moderator with 26,870 posts.
 
Join Date: Aug 2003
Location: Vermont
18-Mar-2008, 04:49 AM #2
devil_himself's Avatar
Distinguished Member with 4,787 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,308 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.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

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 12:28 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.