Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== FILEOPRESULT property (Filesystem) ====== ==== Description ==== Returns an array containing a code and description that describes the result of executing a FILESYSTEM method. The following methods set the FILEOPRESULT property when they are executed: • COPYDIR • COPYFILES • DELETEFILES • GETLONGPATH • GETSHORTPATH • MAKEDIR • MOVEDIR • MOVEFILES • REMOVEDIR • RENAMEDIR • RENAMEFILE ==== Property Value ==== This property is an @fm-delimited array containing a numeric code and a text description of the result like so: <1> Code <2> Description ==== Property Traits ==== ^Development^Runtime^Indexed^Scaled^Synthetic^ |N/A|Get|No|N/A|No| ==== Remarks ==== Equated constants for use with the FILEOPRESULT property can be found in the PS_FILESYSTEM_EQUATES insert record. ==== Example ==== <code> // Make a directory and check the error details if it fails $Insert PS_FileSystem_Equates If Exec_Method( "FILESYSTEM", "MAKEDIR", "c:\temp\newdir" ) Else ErrorInfo = Get_Property( "FILESYSTEM", "FILEOPRESULT" ) ErrorCode = ErrorInfo<PS_FOR_ERRORCODE$> ErrorText = ErrorInfo<PS_FOR_ERRORTEXT$> End </code> ==== See Also ==== COPYDIR method, COPYFILES method, DELETEFILES method, GETLONGPATH method, GETSHORTPATH method, MAKEDIR method, MOVEDIR method, MOVEFILES method, REMOVEDIR method, RENAMEDIR method, RENAMEFILE method guides/oi10/presentation_server/fileopresult_property_filesystem.txt Last modified: 2023/10/25 10:49by 127.0.0.1