Check If file directory exists, if does not exists create directory

 1 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
agersh
Veteran Member
Posts: 81
Veteran Member

    Using V10 IPA is it possible to check if a network directory exits? If the directory does not exist then create the directory on the network drive?

    brox07
    Basic Member
    Posts: 8
    Basic Member

      You should be able to use a 'FileAccess' node under the Data tab. Change the execution mode to 'Check file exists' and in the File location enter the directory name.  If it doesn't exist it will throw an error and you can analyze that with a branch.  Then run a 'System Command' node under the control tab, that will create the directory using simple cmd prompt commands.