Batch file rename with random alphanumeric



As an IT administrator, you may find yourself needing to rename a batch of files with random alphanumeric characters. This can be a useful tool for security purposes, as well as for organizing large sets of data. In this article, we’ll show you how to achieve this task in a few simple steps.

The first step is to create a new folder on your computer, and move all the files you wish to rename into it. This will make it easier to manage them. Next, open the command prompt by typing “cmd” into the Windows search bar. Then, make sure you’re in the directory of the new folder by typing “cd [folder name]”.

Now, all you need to do is type the following command: “for %i in (*.*) do @ren %i [new name]”. This will rename all the files in the folder with a new name that you specify. To create a random alphanumeric string, you can use the following command: “for /L %i in (1,1,10) do @echo %random%”. This will generate ten random strings, each of which can be used for the new name of a file.

Once you’ve done this, you can test the results by opening the folder and seeing if the new names were generated correctly. If everything looks good, you can then proceed to delete the old files from their original locations.

Renaming a batch of files with random alphanumeric characters is a simple task that can be accomplished in a few steps. All you need to do is create a new folder, move all the files you wish to rename into it, open the command prompt and type the appropriate commands. Once you’ve tested the results, you can then go ahead and delete the old files from their original locations. With this method, you can easily add a layer of security to your data, or simply make it easier to organize your files.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo