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

Renaming multiple folders

$
0
0

Hello,

I've been trying to write a script to rename multiple folders in a directory but am not having much luck! The problem I have is that the path of the folders that I need to rename will change, for example:-

C:\TEST\FolderA

C:\TEST2\FolderA

I need to rename FolderA to Folder B but cannot work out how to do it. Any help you guys can offer would, as always, be most appreciated.

Andrew


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles


Telangana Ration Card Online Status Ahara Bhadratha Card Online Status


CalCen


Waves Complete v2019.02.14 Incl Emulator-R2R


[RELEASE THREAD]--_A-Team_--Cricket_Dream_5G


MCGEE, SAMUEL O., DECEASED, OF...


WordPress: Reverse Shell


GPGT - chio bu back from market kym


Ondonga king dragged to court


Justin Guy Ballou, III


Krupt Biography, Death, Songs, Photo, Video



Latest Images