Returns the path of a file pointed to by the given file handle.
The file handle is one returned by the fileOpen command.
|integer||yes||The fileID is usually a variable created earlier in the script with the fileOpen command|
Returns the full path to the file pointed to by the given file handle.
// Create a temp file query the file path and
// print it to the command log
// This creates the file c:/temp/temp.txt and returns the handle to us.
int $fileID = `fileOpen "c:/temp/temp.txt" "w"`;
string $filePath = `getFilePath $fileID`;
// Be sure to close the file.
// Now print out the file path