windows rename query
Options
km1500
Posts: 2,375 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
Categories
- All Categories
- 343.7K Banking & Borrowing
- 250.2K Reduce Debt & Boost Income
- 449.9K Spending & Discounts
- 235.8K Work, Benefits & Business
- 608.8K Mortgages, Homes & Bills
- 173.3K Life & Family
- 248.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 15.9K Discuss & Feedback
- 15.1K Coronavirus Support Boards