EasyManua.ls Logo

Omron SYSMAC FH Series

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WWW.NNC.IR
Macro Reference
666
Vision System FH/FZ5 Series
User’s Manual (Z340)
Rmdir
Deletes a directory.
Format
Rmdir <directoryName>
Parameter
Return value
None.
Description
Deletes the directory specified in the <directoryName> parameter.
In the <directoryName> parameter, use an absolute path to specify the directory name of the directory to be
deleted.
In the following case, an "Illegal function call" error occurs without deleting a directory.
The specified directory does not exist
If the external memory is specified for where to delete a directory from with no external memory inserted
If more than one file is in the specified directory
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
None.
Example
Deletes a directory named "IMAGE2" under the root folder of the E drive.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<directoryName>
Character
string type
Name of a directory to be deleted
Rmdir "E:\IMAGE2"
Dskf (Reference: X Details (p.506)) Fcopy (Reference: X Details (p.522))
GetSystemData (Reference: X Details (p.546)) IsFile (Reference: X Details (p.577))
Kill (Reference: X Details (p.587)) Mkdir (Reference: X Details (p.623))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Related product manuals