how can i add extension to multiple extensionless files on windows 10 . Powershell command doesn't work

Anonymous
2019-11-03T15:12:54+00:00

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

Windows for home | Windows 10 | Files, folders, and storage

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.

0 comments No comments
{count} votes

16 answers

Sort by: Most helpful
  1. Anonymous
    2019-11-03T15:23:36+00:00

    Hi my name is Ross, I'm an independent advisor. I'd be happy to help with your issue.

    The issue is that you are need to use the command in command prompt rather than powershell.

    I recommend that you move the affected files to a separate folder and then enter the following at the command prompt

    cd [folder with files]

    ren * *.jpeg

    This will add the .jpeg extension to all files in that folder.

    Regards,

    Ross

    50 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-11-03T16:27:33+00:00

    that didn't fix the problem there is a command for the powershell because the current command doesn't work 

    ren * *.jpeg it only works if the files has already dedicated extensions 

    so if there is a command what is it ? 

    if not this is a bug to be reported to microsoft to be fixed

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-11-03T16:32:05+00:00

    I’m unsure what you mean here, I have tested this command with files which do not have extensions and it works well. There is not need to use Powershell, in fact the command is more complex.

    I’m sure what you mean a bug to be reported to Apple either.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2019-11-03T20:42:33+00:00

    I’m unsure what you mean here, I have tested this command with files which do not have extensions and it works well. There is not need to use Powershell, in fact the command is more complex.

    I’m sure what you mean a bug to be reported to Apple either.

     sorry editet. but still no fix

    0 comments No comments
  5. Anonymous
    2019-11-03T21:17:48+00:00

    I’m still unclear on what you mean by it’s not fixed, an you provide some more detail, as I said before for the issue you described this is the correct fix.

    1 person found this answer helpful.
    0 comments No comments