FileSystem.GetTempName() (Method)

A method to generate a unique temporary file name.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyFileSystem.GetTempName()

There are often times when you need a temporary file name. If you want to generate a unique name yourself you can. It is generally better to let the operating system do this because it can generate and test for uniqueness far more reliably than you can.