PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/11/2017 4:07 PM by  brox07
Check If file directory exists, if does not exists create directory
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
agersh
Systems Analyst
Martin Health System
Veteran Member
(131 points)
Veteran Member
Posts:67


Send Message:

--
06/09/2017 8:07 AM

    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
    Systems Developer
    Private
    Basic Member
    (22 points)
    Basic Member
    Posts:8


    Send Message:

    --
    09/11/2017 4:07 PM

    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.

    You are not authorized to post a reply.