Created
February 27, 2019 23:49
-
-
Save LiamHz/87b67de6a5b4d03ac882b7b47a82b25b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Base length subtraction has to subtract file extension then re-add after | |
Dir | Rename-Item -NewName {$_.name.substring(3,$_.BaseName.length-4) + '.png'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment