$strPath = Fs.CreateUnique
Dynamically creates and returns a system-generated temporary filename in the specified path.
<path> The path where the temporary file should be created.
If successful, returns a string representing the newly created temporary filename along with the path, else returns an empty string.
- If no path is specified then the .tmp file is created in the active IVR script folder.
- Folders with relative or absolute paths are also acceptable.
$s = "C:\Plugins\fs\"
$ret = fs.CreateUnique ($s)
- $ret contains C:\Plugins\fs\radF6D89.tmp.