AppCtrlScript

MAY Computer

Help

FILEMOVE

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

File

See also  

FILERENAME,FILECOPY, FILEDELETE, CNV2LEGALFILENAME, SETFILEREADONLY

Moves a file to another location. Works also with UNC filenames but not with FTP sites.

Unlike FILERENAME command filemove can move a file to different location rather than renaming the file in the same folder only.

Both, source and destination filename must be a full name (not a folder or filename only).

If the source file does not exist or the file cannot be moved (for example if the destination file already exists), error 5006 will occur.

You may have to make sure that the destination filename contains only valid characters. You can use the CNV2LEGALFILENAME command to eliminate illegal characters in the filename.

Syntax

FILEMOVE <SourceFileName>, <DestinationFileName>
MOVEFILE <SourceFileName>, <DestinationFileName>

Part

Description

<SourceFileName> Complete filename of the file to be moved.
<DestinationFileName> Complete destination filename.