Windows 11 How do I add an extension to all the files in a directory.

  • Thread starter Thread starter Bertilak
  • Start date Start date
B

Bertilak

I found several places where the following is recommended:ren * *.pngBut that gets me the following error:ren : Cannot process argument because the value of argument "path" is not valid.Change the value of the "path" argument and run the operation again. At line:1 char:1 + ren * *.png + ~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Rename-Item], PSArgumentException + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RenameItemCommand I use Powershell, which comes up when I right-click the directory and select open in terminal.I have also tried the followi

Continue reading...
 
Back
Top