file_operation
Method of IApplication
Description
File operation helpers.
Parameters
- eFileOperation operation
- BSTR strFrom
- BSTR strTo = "" (optional)
- UINT nFlags = 0 (optional)
- VARIANT_BOOL bFailIfExist = VARIANT_FALSE (optional)
Return Value
- VARIANT_BOOL pbResult
Syntax
JavaScript
var pbResult = Application.file_operation(operation, strFrom, strTo, nFlags, bFailIfExist);
==== Visual Basic Script ====
pbResult = Application.file_operation operation, strFrom, strTo, nFlags, bFailIfExist
==== C++ ====
VARIANT_BOOL bResult; HRESULT hr = Application.file_operation(operation, strFrom, strTo, nFlags, bFailIfExist, &bResult);
===== See Also ===== IApplication