Returns the current project filename and directory.
Syntax |
Description |
---|---|
out = currentfilename; |
Returns the current filename as a string. If the current filename is not defined, this function returns an empty string "". |
Examples
Gets the current filename.
?out=currentfilename; C:/Users/myname/Documents/FDTD/myfile.fsp
See Also
List of commands , fileexists , getpath , which , pwd , fileextension , filebasename , filedirectory , currentscriptname