# Set the folder path where the MP3 files are located $folderPath = "C:\Path\To\Your\Folder" # Get all MP3 files in the folder $mp3Files = Get-ChildItem -Path $folderPath -Filter "output_*.mp3" # Rename each MP3 file by removing the "output_" prefix foreach ($file in $mp3Files) { $newName = $file.Name -replace "^output_", "" Rename-Item -Path $file.FullName -NewName $newName }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter