By David Wiseman (Administrator)Created 14 Jan 2006
My Rating:
Vote
Rating:
Not Rated
Views:8478
Downloads:183

Recursive Folder Rename

Language:  VBScript

Compatibility

Windows XP Yes Windows 2003 Yes
Windows 2000 Unknown Windows NT Unknown
Vista Unknown Windows 2008 Unknown
Description

This script renames all the subfolders in a given folder.


Notes
e.g. C:\Test\IT Department Documents\ C:\Test\IT Department Reports\ C:\Test\Archive\IT Department Documents\ C:\Test\Archive\IT Department Reports\ If you wanted to replace IT Department with ITC Department Enter C:\Test Then IT Department Then ITC Department You will now have the following folder list: C:\Test\ITC Department Documents\ C:\Test\ITC Department Reports\ C:\Test\Archive\ITC Department Documents\ C:\Test\Archive\ITC Department Reports\ 
Code

Line Numbers: On  Off      Plain Text
Root = inputbox("Please enter the root folder (all subfolders will be renamed)" & vbcrlf & "e.g. C:\TEST")
if Root="" then Canceled

FindStr = inputbox("Please enter the string that you want to find")
if FindStr = "" then Canceled

ReplaceStr = inputbox("Please enter the string that you want to replace it with")
if ReplaceStr = "" then Canceled

set objFSO= createobject("Scripting.FileSystemObject")

EnumFolders Root

Sub EnumFolders(byval Folder)
	set objFolder = objFSO.GetFolder(Folder)
	set colSubfolders = objFolder.Subfolders

	for each objSubfolder in colSubfolders
		NewFolderName = (Replace(objSubfolder.name, findstr, replacestr))
			If NewFolderName <> objSubFolder.Name Then
				objSubFolder.Name = NewFolderName
			End If
		enumfolders objSubfolder.path
	next

End Sub

sub Canceled
	wscript.echo "Script Canceled"
	wscript.quit
end sub

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      

Posted On: 10/11/2017 6:03:32 PM

After Pandora Store Sale explaining Moncler Outlet Store how Cromwell’s Pandora Outlet troopers Pandora Official Website “were Coach Bags On Sale taught New Air Max 2017 the value reebok running shoes of co-operation,” and how 23 IS BACK Store “Cromwell günstige nike schuhe built up his nike air jordan pas cher Cavalry on a foundation of Moncler Jackets Discount Marketplace high Official Toms Shoes Outlet individual efficiency,” he goes Cheap Real Jordans on to show nike tn pas cher that, Zapatillas Nike Air Max Baratas “as time Discount TOMS went on and Canada Goose Womens Coats armies Ugg Pas Cher Femme became nike sneakers larger, Hogan Outlet and Discount Ray Ban Sunglasses skill Adidas NMD For Sale at Hugo Boss Sale arms, as Air max levne a national Adidas Originals Sale characteristic, Nike Shox Cheap rarer, drill, Nike Shoes Online discipline, chaussure basket homme man?uvre in Ugg Outlet Online Store mass, Chaussure Air Max and Uggs For Cheap a high scarpe nike degree Nike Online Store of UGG Boots Cheap mobility Air Max Sneakers came longchamp bags on sale to Nike Shoes Sale Store outweigh all New Nike Shoes other Coach Outlet Store Online viiconsiderations; and Michael Kors Clearance when the new pandora charms necessity Reebok Outlet Store of Scarpe Nike Scontate arming the nations retro jordans for cheap brought Adidas Originals Stan Smith about nike jordan shoes short service, the Toms Factory Outlet training Cheap True Religion Jeans of nike shoes the individual, in vans shoe store any other Canada Goose Outlet branch zapatillas nike baratas of his business than Air Max 90 that christian louboutin outlet of riding Air Nike boot-to-boot Cheap Michael Kors Tote Bag and of Timberland Outlet rendering zapatos de futbol nike instant ????? ????? obedience to the Nike Shoes Discount Marketplace word or signal Cheap Michael Kors of Air Max Pas Cher his superior, nike air fell more Adidas Neo Discount Sale and Nike Kyrie more Yeezy Black into Adidas Shoes Discount Marketplace abeyance. Mens Nike Air Max Shock-tactics Chaussure Nike Pas Cher filled the entire Cheap Michael Kors Handbags bill, and Nike Air Pas Cher the Cavalry of Jordan Store Europe, adidas store admirably trained to man?uvre and Nike Air Damen attack, botas de futbol whether Nike Roshe Run by Cheap Nike Free Run the squadron Bottes Ugg Femme Pas Cher of Nike Polo Sale 150 sabres, prada outlet or Pandora Store the Discount Air Max division of asics sko 3,000 Nike Tn Requin Pas Cher or Doudoune Moncler Pas Cher 4,000, converse store was newest lebron shoes practically Chaussure Nike Air Max Pas Cher unfitted for any other Descuentos Nike duty. The Boutique Ugg climax huarache sneakers of TOMS OUTLET incompetency may UGGS For Women be said to have been Nike Air Max Sale reached during the nfl store cycle Air Max Femme of Nike joggesko European warfare, which Nike Air Shoes began with new yeezy shoes the Crimea, and ended Nike Shox discount Sale with TOMS STORE the Russo-Turkish adidas outlet conflict of 1877–78. Original Ugg Boots The Moncler Sale old Canada goose dam spirit Pandora Outlet Store of Nike Roshe Run Sale dash Scarpe Air Max and Yeezy Shoes Discount Marketplace daring TOMS For Sale under fire was Adidas Soccer Cleats Cheap still Toms Outlet Online conspicuous, discipline and mobility chaussures nike pas cher were pandora jewelry store never Michael Kors Outlet higher. Cheap Toms Shoes Outlet The fitflops sale uk regiments pandora beads man?uvred Nike Air Jordan 11 with admirable precision at Uggs Pas Cher Soldes the cheap nike air max highest womens nike air max speed, Christian Louboutin Heels and never had great masses Adidas Yeezy Cheap of horsemen Cheap Retro Jordans For Sale been more Abercrombie and fitch store easily controlled. And Nike Huarache Womens Cheap yet, nike sportschuhe in the whole Jordan Shoes Air history TOMS SHOES OUTLET of Adidas Yeezy Boost 350 For Sale war, it may Air max dam be Louboutin Wedding Shoes doubted Pandora Style Beads whether The official UGG the Doudoune Moncler Femme Pas Cher record of the UGG BOOTS FOR WOMEN Cavalry was canada goose jackets on sale ever Canada Goose Online Store more Cheap Nike Air Huarache meagre.” Referring ugg factory outlet specially to chaussure adidas pas cher the suivre un envoi German Cavalry during Moncler Outlet Online the Cheap Air Max Trainers war Yeezy Men of Nike Factory Outlet 1870–71, Nike Air Huarache For Sale Henderson says: Jordan Sneakers For Sale “The Stone Island Outlet troopers Boty Nike Air knew nothing Nike Free Run 5.0 Womens whatever Cheap Air Max of louboutin heels fighting Ray Ban Sunglasses Online on nike sb stefan janoski foot—their movements Canada Goose Outlet were impeded by Kobe Shoes Nike their equipment--and Nike Air Sneakers a nike schuhe günstig few Adidas Originals Superstar Francs-tireurs, armed ADIDAS NMD SALE ON LINE with Cheap True Religion Jeans the chassepot, were Negozi Pandora enough to Cheap Louboutin Heels paralyze a Billige Nike Sko whole Adidas Superstar Sale Online brigade.... Nike Outlet In Yeezy Boost Sale Online fact, Moncler Outlet to the Nike Store student canada goose jacket outlet who follows air force one pas cher out cheap uggs the operations of the Michael Kors Cavalry of 1870–71 step cheap uggs for women by Nike Air 90 step, Michael Kors Handbags Discount and who Hyperdunk 2014 bears in Pandora Store mind ugg clearance its Cheap Toms Outlet Store deficiencies in Discount Christian Louboutin Shoes armament Boost Yeezy Sale On Line and training, it will new jordan releases appear Nike Air Max Cheap very Nike Pas Cher Femme doubtful Vans Black Sneakers whether a Ugg boots Sale strong Air Max Kopen body Cheap Nike Huarache of Zapatillas Air Max mounted Nike Soccer Cleats Boots riflemen of nike mercurial soccer cleats the same type coach factory outlet online as the toms shoes outlet Boers, or better Nike Outlet Store still, of Nike Air Max Goedkoop Sheridan’s ?????? ????? or Doudoune Moncler Site Officiel Stuart’s ugg store Cavalry Official NHL Jerseys in the last years of the War Nike Factory Store of Secession, would not Soccer Boots Outlet nike have Nike Air Women held the UGGS Outlet German horsemen Ugg Pas Cher En France at bay Air Jordan Retro Sale from the first Christian Louboutin Shoes Outlet moment they moncler jacket sale crossed Jordan Shoes For Cheap the Adidas Superstar frontier.”

jeje222
Posted On: 11/19/2017 7:35:02 PM

nhl jerseys air force 1 chrome hearts adidas gazelle kyrie shoes yeezy shoes tory burch outlet chrome hearts pandora jewelry curry 3 yeezy boost michael kors handbags adidas outlet yeezy boost jordan 11 retro lebron 13 longchamp sale balenciaga sneakers nmd adidas superstar shoes michael kors factory outlet michael kors handbags tory burch shoes Kanye West shoes nike zoom running shoe nike air max 2017 yeezys golden goose curry 4 true religion michael jordan shoes fitflops hermes belt nike roshe run kobe basketball shoes adidas outlet cartier bracelet kate spade outlet yeezy boost 350 v2 nfl jerseys kobe basketball shoes air jordan 13 adidas tubular led shoes for kids kobe byrant shoes vans shoes links of london sale yeezy boost 350 chrome hearts online pandora charms cheap mlb jerseys yeezy boost 350 links of london hermes belts jordan 12 nike roshe uk gucci belt yeezy boost yeezy boost supreme hoodie adidas nmd nike huarache http://www.kobeshoes.uk kyrie 3 jordan retro 6 kyrie irving shoes nike air force 1 birkin bag michael kors outlet jordan shoes reebok outlet vibram fivefingers nike huarache 100% real jordans for cheap curry shoes lebron shoes calvin klein outlet light up shoes air jordans michael kors outlet curry 4 adidas ultra boost adidas tubular nike air max kobe 11 yeezy boost 350 v2 nike roshe run 100% real jordans for cheap golden goose sneakers hogan outlet nike polo shirts adidas stan smith shoes atlanta falcons jersey goyard handbags nmd kobe sneakers nike zoom converse outlet true religion lacoste online shop air max 90 adidas neo tom ford sunglasses nike air max 90 chrome hearts nike air max 90 adidas superstar yeezy boost 350 adidas ultra boost birkin bag ferragamo belt adidas nmd r1 adidas tubular shadow fitflops nike dunk shoes adidas outlet online links of london outlet store michael kors outlet store adidas ultra hermes handbags longchamps lebron 14 air jordan roshe shoes jordan 6 jordan 11 nike air zoom lebron 15 jordan 13 cheap jordans nmd golden goose asics shoes lebron 13 shoes longchamp longchamps michael kors factory outlet air max 2018 kobe shoes yeezy shoes real jordans for sale cheap bape hoodie longchamp bags retro jordans jordan retro 12 nike polo hermes belt cheap jordans adidas superstar shoes yeezy shoes links of london roshe run adidas stan smith hermes birkin jordan 4 van cleef arpels lebron 14 shoes asics running shoes nike air huarache kate spade handbags longchamp longchamp pandora charms adidas nmd stephen curry shoes air yeezy nike air force 1 authentic jordans ysl bags adidas yeezy boost kevin durant shoes air max 2017 michael kors outlet mlb jerseys yeezy shoes adidas outlet adidas stan smith sneakers adidas tubular shadow lacoste outlet jordan retro nike foamposite nike huarache adidas nmd adidas nmd kobe 9 longchamp kd shoes adidas online shop nike dunks air jordan louboutin shoes basketball shoes vans shoes balenciaga sneakers cheap jordans yeezy boost 350 yeezy boost 350 v2 led shoes timberland boots patriots jersey nike mercurial fitflops sale clearance retro jordans kobe shoes michael kors outlet online calvin klein outlet online bape hoodie moncler outlet yeezy boost tory burch shoes yeezy boost 350 gucci belts nike zoom yeezy boost 350 v2 adidas tubular falcons jersey dior glasses air jordan shoes jordan shoes adidas store hermes belt reebok shoes nike roshe one balenciaga shoes jordan shoes nike air force longchamp outlet cheap jordans yeezy boost 350 v2 kyrie 4 converse shoes air max 90 yeezy kobe 11 kobe shoes vans outlet longchamp bags new england patriots jersey air max 2016 michael kors outlet supreme clothing kyrie 4 converse outlet longchamp bags yeezys basketball shoes cheap jordans michael kors outlet tom ford eyewear adidas outlet online michael kors outlet online nike football boots lacoste polo louboutin shoes uk cheap jordans michael kors handbags pandora bracelet cheap basketball shoes curry 3 shoes longchamp handbags hogan outlet online adidas ultra boost uncaged longchamp bags michael kors michael kors uk adidas superstar lebron james shoes birkin bag nike air force timberland outlet converse outlet store longchamp outlet ferragamo belts adidas eqt adidas stan smith longchamp handbags moncler jackets michael jordan shoes yeezy boost 350 true religion jeans vibram five fingers adidas online shop yeezy jordan shoes pandora jewelry yeezy boost 350 jordan shoes air max adidas yeezy nike air huarache adidas tubular nike air max nike air max 2018 golden goose lebron 15 michael kors handbags kobe 9 prada glasses adidas nmd af1 chrome hearts online yeezy shoes ysl handbags yeezy boost 350 kate spade outlet online nike basketball shoes harden shoes http://www.kobebasketballshoes.us.com goyard bags balenciaga shoes golden goose sneakers adidas yeezy adidas nmd runner nike air zoom hermes belts for men michael kors outlet yeezy shoes true religion outlet van cleef retro jordans adidas shoes james harden shoes prada sunglasses ultra boost air jordan shoes lacoste outlet golden goose outlet cheap nfl jerseys kyrie 3 shoes dior sunglasses michael kors outlet online brady jersey adidas ultra boost air force 1 led shoes

20171130caihuali
Posted On: 11/29/2017 11:57:48 PM

nhl jerseys ugg boots clearance fitflops reebok outlet store ray ban sunglasses ray ban sunglasses michael kors handbags nike foamposite mulberry handbags longchamp pliage coach outlet ferragamo outlet true religion outlet canada goose outlet canada goose jackets polo shirts ugg boots clearance michael kors outlet canada goose jackets polo ralph lauren ugg outlet canada goose jackets cheap snapbacks nike outlet ugg outlet canada goose coats michael kors michael kors outlet thomas sabo canada goose jackets pandora jewelry fitflops sale clearance mont blanc pens canada goose outlet reebok trainers michael kors outlet michael kors black friday moncler jackets christian louboutin online polo ralph lauren air max 90 fitflops shoes oakley sunglasses longchamp outlet polo ralph lauren moncler outlet ugg outlets ugg outlet ray ban sunglasses longchamp bags coach outlet oakley sunglasses ralph lauren polo adidas wings longchamp outlet ugg outlet canada goose jackets christian louboutin shoes coach outlet canada goose outlet uggs outlet nike air max 2015 michael kors outlet pandora jewelry lakers jerseys nike outlet lacoste soldes coach outlet online supra shoes pandora charms sale clearance nike roshe michael kors outlet cazal sunglasses coach outlet kobe bryant shoes new balance shoes ugg outlet nfl jersey wholesale ugg outlet michael kors outlet tory burch outlet air max 90 coach outlet online canada goose outlet coach outlet michael kors handbags prada outlet burberry outlet jordan shoes prada shoes coach factory outlet polo ralph lauren uggs outlet ferragamo outlet tods outlet nba jerseys air max 90 coach outlet ugg boots clearance coach handbags polo ralph lauren michael kors handbags true religion jeans michael kors outlet uggs outlet air max 1 ugg outlet michael kors outlet online coach outlet christian louboutin uk nike air force 1 michael kors outlet oakley sunglasses ray ban sunglasses coach outlet ugg outlet uggs outlet michael kors outlet true religion jeans mcm outlet ugg outlet adidas trainers swarovski crystal kate spade outlet oakley sunglasses ugg boots clearance ugg boots uggs ray ban sunglasses mbt shoes canada goose outlet true religion jeans ferragamo shoes michael kors handbags tory burch outlet tory burch outlet ray-ban sunglasses longchamp solde giuseppe zanotti outlet coach outlet online nike air max canada goose jackets converse shoes ferragamo shoes moncler jackets prada handbags longchamp solde polo ralph lauren nike shoes ugg boots jordan shoes canada goose jackets oakley sunglasses pandora charms sale clearance cheap jordans kate spade outlet oakley sunglasses ray ban sunglasses birkenstock sandals nike store oakley sunglasses soccer jerseys michael kors handbags toms sko coach outlet cheap nhl jerseys ecco shoes oakley sunglasses mulberry handbags polo outlet football shirts ugg cyber monday oakley sunglasses oakley sunglasses marc jacobs outlet vans outlet ed hardy clothing hermes outlet cheap jordans christian louboutin outlet true religion outlet coach outlet swarovski outlet ralph lauren outlet ugg boots clearance michael kors outlet true religion outlet ray ban sunglasses vans shoes longchamp handbags true religion outlet cheap jerseys michael kors outlet swarovski crystal coach handbags michael kors outlet online ray ban sunglasses canada goose jackets coach outlet online polo outlet true religion jeans hermes belt oakley sunglasses wholesale ugg boots coach outlet online bottega veneta outlet ugg boots clearance canada goose jackets prada sunglasses coach outlet longchamp handbags fitflops sale clearance michael kors outlet uggs outlet dansko shoes ray ban sunglasses ray ban sunglasses mulberry bags canada goose outlet links of london tory burch shoes michael kors outlet coach outlet mulberry bags jordan shoes nike store uk ray ban sunglasses michael kors oakley sunglasses christian louboutin outlet ysl outlet burberry outlet michael kors outlet coach outlet canada ugg boots kate spade outlet soccer jerseys ferragamo outlet herve leger outlet ugg outlet cheap nfl jerseys oakley sunglasses oakley sunglasses polo ralph lauren coach outlet ugg outlet michael kors outlet hermes outlet futbol baratas ugg outlet nike outlet ferragamo outlet pandora jewelry ugg outlet converse shoes air max trainers ray ban sunglasses soccer shoes ugg boots chrome hearts cheap jerseys uggs outlet ugg boots adidas sko new balance shoes michael kors outlet online michael kors uk moncler outlet ugg boots clearance swarovski outlet tory burch outlet michael kors outlet canada goose outlet canada goose outlet canada goose outlet air max uk coach factory outlet coach outlet store online oakley sunglasses yeezy boost kevin durant shoes jordan shoes oakley sunglasses coach outlet online ugg outlet polo outlet true religion jeans moncler outlet ralph lauren polo nfl jerseys wholesale mac cosmetics swarovski outlet uggs outlet canada goose black friday tory burch outlet ralph lauren uk yeezy boost 350 ray ban sunglasses christian louboutin shoes longchamp pas cher ugg outlet michael kors factory outlet canada goose parka nike shoes air huarache ugg black friday coach outlet michael kors outlet online swarovski outlet canada goose outlet mulberry outlet adidas uk michael kors outlet online ugg boots canada goose outlet true religion uk michael kors bags coach outlet online salomon shoes canada goose outlet ecco sale canada goose cyber monday michael kors outlet cleveland cavaliers jersey nike free 5 ugg outlet coach factory outlet coach outlet pandora charms uggs outlet canada goose outlet oakley sunglasses canada goose outlet ralph lauren polo true religion jeans michael kors outlet cartier outlet christian louboutin shoes coach outlet online ray ban sunglasses adidas nmd canada goose outlet canada goose jackets burberry outlet montblanc pens adidas outlet store ugg outlet air huarache coach canada ralph lauren uk tory burch outlet ralph lauren outlet true religion jeans fitflops outlet kobe 9 christian louboutin shoes ugg outlet mont blanc pens ralph lauren polo shirts adidas nmd polo ralph lauren kobe shoes lebron james shoes cheap snapbacks ray ban sunglasses puma outlet cheap mlb jerseys ugg outlet ray ban sunglasses puma shoes kate spade outlet oakley sunglasses polo ralph lauren adidas shoes nike air max 90 kate spade outlet ralph lauren polo canada goose outlet true religion jeans fitflops shoes michael kors basketball shoes fitflops coach factory outlet michael kors outlet ralph lauren outlet ugg outlet coach outlet nike trainers coach factory outlet ugg outlet coach outlet online uggs outlet nike trainers polo outlet mulberry handbags ralph lauren pas cher coach outlet oakley sunglasses christian louboutin outlet mulberry handbags canada goose jackets kate spade outlet polo outlet ugg outlet ugg boots clearance michael kors wallets michael kors outlet hermes birkin canada goose outlet timberland boots kicks nice michael kors outlet pandora jewelry mulberry outlet valentino outlet coach factory outlet oakley sunglasses wholesale ray ban sunglasses burberry outlet birkenstock outlet nike factory outlet christian louboutin outlet coach outlet longchamp outlet polo ralph lauren polo ralph lauren cheap mlb jerseys cheap jordans louboutin shoes ugg outlet tory burch outlet nike roshe one nba jerseys canada goose outlet ralph lauren polo shirts canada goose outlet mulberry sale chicago blackhawks jerseys christian louboutin outlet coach outlet oakley sunglasses longchamp handbags oakley sunglasses air max 90 uggs outlet asics shoes fitflops sale clearance lacoste polo shirts canada goose outlet polo ralph lauren canada goose outlet michael kors outlet ugg outlet true religion jeans uggs outlet christian louboutin outlet true religion jeans air jordan 4 michael kors Girls shoes cheap jordans ugg outlet oakley sunglasses chrome hearts outlet polo ralph lauren huaraches shopping ray bans fitflops sale michael kors handbags ugg boots nike trainers coach outlet longchamp handbags canada goose jackets ugg outlet christian louboutin outlet fred perry polo shirts michael kors handbags moncler outlet christian louboutin shoes coach outlet online nike outlet true religion jeans ferragamo outlet nike blazer pas cher 20171130caihuali