Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

WindowsFileCopyMBS.CopyFileEx(ExistingFileName as folderitem, NewFileName as folderitem, Flags as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copies an existing file to a new file, notifying the application of its progress through the progress event.
Notes:
Returns true on success and false on failure.

ExistingFileName: The name of an existing file.
NewFileName: The name of the new file.
Flags: Flags that specify how the file is to be copied. This parameter can be a combination of the CopyFile* constants.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.CopyFileEx(ExistingFileName as String, NewFileName as String, Flags as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copies an existing file to a new file, notifying the application of its progress through the progress event.
Notes:
Returns true on success and false on failure.

ExistingFileName: The name of an existing file.
NewFileName: The name of the new file.
Flags: Flags that specify how the file is to be copied. This parameter can be a combination of the CopyFile* constants.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.CopyFileSimple(ExistingFileName as folderitem, NewFileName as folderitem, FailIfExists as boolean=false) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copies an existing file to a new file.
Notes:
ExistingFileName: The name of an existing file.
NewFileName: The name of the new file.
FailIfExists: If this parameter is true and the new file specified by NewFileName already exists, the function fails. If this parameter is false and the new file already exists, the function overwrites the existing file and succeeds.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.CopyFileSimple(ExistingFileName as String, NewFileName as String, FailIfExists as boolean=false) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copies an existing file to a new file.
Notes:
ExistingFileName: The name of an existing file.
NewFileName: The name of the new file.
FailIfExists: If this parameter is true and the new file specified by NewFileName already exists, the function fails. If this parameter is false and the new file already exists, the function overwrites the existing file and succeeds.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source as folderitem, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source as string, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source as string, dest as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source() as folderitem, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source() as folderitem, dest() as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source() as string, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source() as string, dest as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationCopy(source() as string, dest() as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Copy the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationDelete(file as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Deletes files and folders.
Example:
dim w as new WindowsFileCopyMBS

dim f as FolderItem = SpecialFolder.Desktop.Child("test.test")

if w.FileOperationDelete(f, 0, "Hello") then
MsgBox "OK"
else
MsgBox "Failed "+str(w.Lasterror)
end if
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationDelete(filepathes as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Deletes files and folders.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationDelete(filepathes() as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Deletes files and folders.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationDelete(files() as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Deletes files and folders.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source as folderitem, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source as string, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source as string, dest as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source() as folderitem, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source() as folderitem, dest() as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source() as string, dest as folderitem, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WindowsFileCopyMBS.FileOperationMove(source() as string, dest as string, Flags as Integer, ProgressTitle as string="") as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 9.2 No Yes No Yes, Windows only No
Function: Move the files specified in the source parameter to the location specified in the dest parameter.
Notes:
This method has several varations so you can call it with a folderitem or a string to specify a file or folder. You can also pass an array of folderitems or strings to delete several files/folders in one operation.

source:
These names should be fully-qualified paths to prevent unexpected results.
Standard Microsoft MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results.

dest:
The destination file or directory name. Wildcard characters are not allowed. Their use will lead to unpredictable results.

Copy and Move operations can specify destination directories that do not exist. In those cases, the system attempts to create them and normally displays a dialog box to ask the user if they want to create the new directory. To suppress this dialog box and have the directories created silently, set the FileOperationNoConfirmationMkDir flag in Flags.
For Copy and Move operations, the buffer can contain multiple destination file names if the fFlags member specifies FileOperationMultiDestFiles.
Use fully-qualified paths. Using relative paths is not prohibited, but can have unpredictable results.

Use the FileOperation* constants for the flags.
If a dialog is displayed, the window used in the parent property is used for the parent window.
If ProgressTitle is not empty, this string is used to specify the progress window title text.

Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS Win Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins