Recursive folder creation
hh at hyperhh.de
Mon Aug 7 15:12:22 EDT 2017
> Brian wrote:
> Check out _revSBEnsureFolder in revSBLibrary for example code that does this.
Brian, WOW! This is great insight!
put "/Users/admin/Documents/brian3/showed/us/the/trick/of/marcus/" into ff
call "revSBEnsureFolder ff" of stack "revSBLibrary"
launch document ff
> Tore wrote:
> on mouseUp
> put specialFolderPath("desktop")& "/testFolder/testOne/test/result" into tFolder
> set the itemDel to "/"
> repeat with i = 1 to the number of items of tFolder
> put item 1 to i of tFolder into tFolderToCreate
> create folder tFolderToCreate
> end repeat
> end mouseUp
More information about the Use-livecode