Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
For the latest documentation on Visual Studio 2017, see GetUniqueFileName on docs.microsoft.com. Returns a unique file name.
Syntax
function GetUniqueFileName(
strDirectory,
strFileName
);
Parameters
strDirectory
Directory to look for file name in
strFileName
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.
Remarks
Returns a unique file name.
See Also
Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
GetProjectFile