General information
Category:
Coding, syntax & commands
>>Has anyone published a routine that will validate a path specification and if it doesn't exist will create it? This would have to be recursive and move up or down the directory structure to see if each subsequent folder existed and if not it would create it. Maybe a do while loop of some sort.
>>
>>Thanks for your community wisdom.
>
>It does not have to be recursive, I believe. With DIRECTORY function you can check, if the directory exists and MD can create directory several levels deep, as I just tried in the command window
>MD c:\test50\test30\test40
>
>In any case, I saw a recent FAQ for validating given path. Validating that a path and filename is usable FAQ #31348
Cool! Thanks Naomi. I didn't realize MD would do more than the end of the path. That really makes it easy.
- Don :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only