Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-27-2006, 04:35 PM   #1
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
windows script that copy one file into multiple folders ??

Is there maybe a script that will automaticly copy one file in mulitple folders and subfolders ?

i have to put one .html file into the hundreds of folders and it would be awesome if there is an easier way to do so...
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:20 PM   #2
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
bump bump
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:24 PM   #3
jjjay
Registered User
 
Join Date: Jun 2005
Posts: 1,813
dir *.* /ad /b > list.txt (going from memory - this lists all folders and puts them in a text file

then just do a wildcard search and replace using textpad to add "copy filename" to the start of each line

then rename text file to file.bat

then double click it
jjjay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:36 PM   #4
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
Quote:
Originally Posted by jjjay
dir *.* /ad /b > list.txt (going from memory - this lists all folders and puts them in a text file

then just do a wildcard search and replace using textpad to add "copy filename" to the start of each line

then rename text file to file.bat

then double click it
nice!! do you know how to bulk delete all the *.mpeg files also ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:39 PM   #5
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
Quote:
Originally Posted by zentz
nice!! do you know how to bulk delete all the *.mpeg files also ?
format c:
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:42 PM   #6
jjjay
Registered User
 
Join Date: Jun 2005
Posts: 1,813
Quote:
Originally Posted by zentz
nice!! do you know how to bulk delete all the *.mpeg files also ?
use windows search

press f3 in windows explorer

search for *.extension

select all

delete
jjjay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 05:44 PM   #7
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
Quote:
Originally Posted by jjjay
use windows search

press f3 in windows explorer

search for *.extension

select all

delete
nice.. about that list.txt thing.. it will create only the list of folders but i need the subfolders included too.. any ideas ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-27-2006, 06:03 PM   #8
jjjay
Registered User
 
Join Date: Jun 2005
Posts: 1,813
Quote:
Originally Posted by zentz
nice.. about that list.txt thing.. it will create only the list of folders but i need the subfolders included too.. any ideas ?
add /s as a switch

if you go to dos and type dir /? it'll give you more info
jjjay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.