We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
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
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards