GetUniqueFileName
Returns a unique file name.
function GetUniqueFileName(
strDirectory,
strFileName
);
Parameters
strDirectory
Directory to look for file name instrFileName
File name to check.
Return Value
The file name indicated in strFileName if unique; otherwise this function returns strFileName, appended with a number from 1 to 9999999, to make it unique. If strFileName is not provided, this function returns a unique file name by using GetTempName Method.
Remarks
Returns a unique file name.
See Also
Tasks
Concepts
Customizing C++ Wizards with Common JScript Functions