Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

renaming multiple folders not successful

$
0
0

Hello

in my server, in C:\RootFolder  i have many folders which their names are:

f1, f2, f3,....

(as shown, their name starts from digit 1 )

for some reasons, i need an script so that system renames all items to folder$i ---> (which $i must start from 100)

so in my case, the result must become:

folder100, folder101, folder102,....

its about one hour i'm trying to create this script but finally i ended up with no success.

any help pleas! thanks in advanced

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles