Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Replace files in multiple directory, from a single directory


14 Jan 2011   #1

windows 7 home premium
 
 
Replace files in multiple directory, from a single directory

I have a 10 files that have all been categorised into about 40 folders. These files have been damaged.
I have a backup of all these files, but they are not categorised and sit in a single directory.

Does anyone know of an easy technique to batch replace the damaged files with the originals?

Cannot find any apps to do such a task.

My System SpecsSystem Spec
.

14 Jan 2011   #2

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Easy one:

Built in command part of Windows. Open an elevated Command Prompt and type:

Code:
replace /?
Here is how:

Folder with Backup files:

C:\Data\Backups

Folders with corrupt files:

E:\Finance\Statements\2001
E:\Finance\Statements\2002
E:\Finance\Statements\2003
E:\Finance\Statements\2004
E:\Finance\Statements\2005
E:\Finance\Statements\2006
E:\Finance\Statements\2007

Code:
Replace c:\data\backup\*.* e:\finance\statements /s
My System SpecsSystem Spec
17 Jan 2011   #3

windows 7 home premium
 
 

Great! Easy. Thanks for that.
My System SpecsSystem Spec
.


Reply

 Replace files in multiple directory, from a single directory




Thread Tools



Similar help and support threads for2: Replace files in multiple directory, from a single directory
Thread Forum
Solved Cannot change directory (CD) to a directory with space in the name General Discussion
Solved VC_RED files on my Root Directory General Discussion
File directory: Many directory bear the same name after hd replacement Performance & Maintenance
Solved C:\Recovery - directory ??? help lost files in this General Discussion
Solved How do I search for multiple files in a particular directory General Discussion
Replace icons for single files ? Customization
32 bit app can only read files under its own directory? System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:02 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33