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 system or the destination system. The second parameter is optional and is a Boolean value. If the second parameter is True, the interpreter looks on the source system for the specified file. If the parameter is false or it is omitted, the interpreter looks on the destination system.
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 system 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 © 2014 CA Technologies.
All rights reserved.
|
|