Verifies that a directory exists. This command takes two parameters. The first parameter is the directory path and is a string value. The second parameter indicates whether to look on the source machine or the destination machine. The second parameter is optional and is a Boolean value. If the second parameter is True, the interpreter looks on the source machine for the specified file. If the parameter is false or omitted, the interpreter looks on the destination machine.
Note: The Boolean parameter can only be used during General and Apply functions. The parameter causes a syntax error or runtime error if used otherwise.
The Directory path (string value)
The machine indicator (Boolean value)
DirectoryExists( <Directory path>, [Boolean] );
if (DirectoryExists( "c:\\My Documents")) StoreDirectory( "c:\\My Documents"); if (DirectoryExists( "c:\\My Documents", SOURCE)) ApplyDirectory( "c:\\My Documents");
|
Copyright © 2013 CA.
All rights reserved.
|
|