Generating Random File Name

Sometimes we may need to generate a random file name. In VBScript we can use Scriptlet.TypeLib to generate GUID for random data, but length of the GUID is too long.
If we need a shorter random file name, it can be generated using GetRandomFileName method.


Although there are several ways to generate random file name, this technique can be used where we require a shorter random data to be used as file name.

Leave a Reply

Your email address will not be published. Required fields are marked *