We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
windows rename query

km1500
Posts: 2,790 Forumite

I have a lot of WhatsApp images in a folder on my hard drive they are usually named something like
IMG-20230911-WA0000.jpg
I want to use rename to remove the IMG- from the front
I tried
rename IMG-20*.* 20*.*
but that didn't work
Does anyone know if it can be done?
many thanks
IMG-20230911-WA0000.jpg
I want to use rename to remove the IMG- from the front
I tried
rename IMG-20*.* 20*.*
but that didn't work
Does anyone know if it can be done?
many thanks
0
Comments
-
PowerShell can batch rename files in the current directory -
Dir *.jpg | Rename-Item -NewName { $_.Name -replace '^IMG-','' }
1
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.5K Banking & Borrowing
- 253.3K Reduce Debt & Boost Income
- 453.9K Spending & Discounts
- 244.5K Work, Benefits & Business
- 599.8K Mortgages, Homes & Bills
- 177.2K Life & Family
- 258.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards