Thursday, February 2, 2012

Changing the case of files

To change the case of all files within a folder hierarchy the following PowerScript can be used

dir "ramblingross" -r | % 
	if (!($_.PsIsContainer) -And $_.Name -cne $_.Name.ToLower()) 
		ren $_.FullName $_.Name.ToLower() 

Add comment

Fill out the form below to add your own comments

Bookmark Site

Bookmark and Share


  PHP     General     Technology     Perl     Contracting     C#     For Sale     Availability     FlatPress  


Admin area