$TargetFolder = "F:Code优化后"
$folders = get-childitem $TargetFolder -force
Foreach ($Folder in $folders)
{
$FolderPath=$Folder.FullName
Rename-Item $FolderPathcacheFile $FolderPathcacheFile1
}
$TargetFolder = "F:Code优化后"
$folders = get-childitem $TargetFolder -force
Foreach ($Folder in $folders)
{
$FolderPath=$Folder.FullName
Rename-Item $FolderPathcacheFile $FolderPathcacheFile1
}