Friday, February 3, 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


  FlatPress     Contracting     General     PHP     Availability     Technology     C#     Perl     For Sale  


Admin area