Trying to create several layers of folders at once C:\pie\applepie\recipies\ without using several different commands, is there an easy way similar to Directory.CreateDirectory()
Trying to create several layers of folders at once C:\pie\applepie\recipies\ without using several different
Share
Here’s some code I used in one of my projects. It requires a reference be added to the project for the file system object.
First, click Project -> References, scroll down to ‘Microsoft Scripting Runtime’ and select it. Then you can use this function: