CreateUniqueFile Method

Object: FileManager
Syntax: CreateUniqueFile ([in] Directory, [in] Prefix)
Returns: A string containing the name of the newly created file
Description: This method creates a uniquely named file in the specified directory, with the specified Prefix.

For example, if the directory is c:\temp and the Prefix is ab, this method creates a file named c:\temp\abNNN.tmp where NNN is unique and different from any other file in the same directory.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.