Skip to content

Instantly share code, notes, and snippets.

@JekRock
Created June 5, 2017 08:39
Show Gist options
  • Save JekRock/735ca6b25b29a0cbc4fe66922bc39918 to your computer and use it in GitHub Desktop.
Save JekRock/735ca6b25b29a0cbc4fe66922bc39918 to your computer and use it in GitHub Desktop.
Powershell change extension of multiple files
ls | rename-item -newname { [io.path]::ChangeExtension($_.name, "c") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment