Share via

How to create random file names

Anonymous
2012-12-01T16:06:17+00:00

I have a folder containing 600 JPEG files. I want to replace their current file names with ones randomly generated. So instead of file names IMG_11.jpg, IMG_12.jpg, IMG_13.jpg I would want to see something like 342.jpg, 8.jpg, 107.jpg.

Could some brainy person give me some code that would do this. I want to change ONLY the file names in this folder.

I need simple and comprehensive instructions on how to run the code, suitable for one no longer young in brain.

I DO NOT WANT to change each file name by hand. I DEFINITELY DO NOT WANT cut and paste or other references to Movie Maker or any other commercial slide show maker.

Please read the question carefully before answering. I have tried posing it before and got completely irrelevant answers which make me tired.

Windows for home | Previous Windows versions | 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

Answer accepted by question author

  1. Anonymous
    2012-12-03T08:11:09+00:00

    Hi David,

    Thank you for posting the question in Microsoft Community.

    Unfortunately, you will not be able to run a code for changing file names in bulk. However, you may try to search for a third party software which could help.

    Note:  Using Third Party Software or Link, including hardware drivers can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the use of Third Party Software or Link can be solved. Using Third Party Software or Link is at your own risk.

    Thanks.

    2 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-12-14T01:59:38+00:00

    Hi David,

    If you have any further issues on the computer, please post your question regarding Windows and we will be happy to help you.

    Thanks.

    0 comments No comments
  2. Anonymous
    2012-12-03T18:37:41+00:00

    Thanks anyway.

    0 comments No comments