Welcome Guest ( Log In | Register )




Collapse

Top Submitters

· NickTheGreek (127)
·  (127)
· www.yourforum.gr (61)
· nickpar (20)
· Big (1)

Collapse

Random Tutorials

How do I Flush the cPHulk Database

Tutorial name: How do I Flush the cPHulk Database
Submitted by: NickTheGreek


Collapse

Announcments


Welcome to Tutorial System!


Print this Tutorial 

Copy files to many folders

Tutorial Information
Name: Copy files to many folders
Submitter: NickTheGreek
Category: Windows Tutorials
Submitted: 22 Mar 2011
Updated: 22 Mar 2011
Views: 348
Rating: This tutorial is unrated.
Copy files to many folders
View All Tutorials By This Member
View Discussion Topic
Description:
i was wondering if there was a script or a program that will copy two designated files to a specified folder and every subfolder?
Tutorial Instructions
This works (at-least in WinXP):

cd root-folder-of-target
for /d /r %f in (.\) do copy c:\drop.txt %f

Notes:
1. You must change to the root of the target folder. For ex:, if you want to copy a file to C:\DOWNLOADS and all it's subfolders, first chdir to C:\DOWNLOADS
2. Substitute c:\drop.txt with the location and file-name of the actual file to be dropped in each folder.

Let us know if this worked for you.
Comments
Comment by: NickTheGreek
Comment on: 19 Jun 2011

works great



1 user(s) active
Active Users 1 guests, 0 members, 0 anonymous members
Sorted by Last Click
Quick Stats
Board Stats There have been a total of 244 tutorials in 6 categories and 0 sub-categories with 111295 views and 24 comments
The newest tutorial is How to Add “Move to” or “Copy to” to Windows 10¢s Context Menu by NickTheGreek

RSS Lo-Fi Version Time is now: 28th March 2024 - 10:26 AM
Skin and Graphics by Dan Ellis and Anubis. Hosting by Forums & More © 2005-2011.
InvisionGames - Your #1 Arcade Games Repository | AllSigs - Signatures for all | Rock Band + Guitar Hero = RockHero ! | The Remoters - Remote Assistance | FileMiners - You ask, We find