Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the full path to the file pointed to by the given file handle.

Scroll pagebreak

Examples

Code Block
languagetext
// 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.

...


fileClose $fileID;

...


 

...

// Now print out the file path

...


print $filePath;

Additional information

Related commands

...