there is a command
Get-ChildItem *.| Rename-Item -newname { $_.name -replace '.','.' }
but didn't work for naming nameless files
it worked fine for change extensions for those of extensions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
how can add extension to multiple file on windows 10 using windows powershell
hi, how can i add extensions to multiple extensionless files on windows 10
///
when i right click on folder holding shift key then choose powershell because there is no command prompt
and enter this command ren *. *.jpeg it doesn't work even ren * *.jpeg didn't work also
i tried using cmd prompt by from start menu then locating file using cd then file location then typed the first command it worked so what is the right command for windows power shell and if there are any other methods it would be great
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
there is a command
Get-ChildItem *.| Rename-Item -newname { $_.name -replace '.','.' }
but didn't work for naming nameless files
it worked fine for change extensions for those of extensions
Try:
Get-ChildItem * | Rename-Item -newname { $_.name -replace '.','.' }
i tried that already not working tried to remove the point the inserting space not working i is a different code i think i don; know why microsoft is using bad complicated codes