I found in the documentation that when adding the ";*" you also need to add a 
folder separator to the end of the full document path. When just creating a 
folder, you need to leave the final folder separator off.



> On Oct 15, 2019, at 12:00 PM, [email protected] wrote:
> 
> 
> Message: 2
> Date: Tue, 15 Oct 2019 09:49:05 +1100
> From: Jörg Knebel <[email protected] 
> <mailto:[email protected]>>
> To: 4D Tech Mailing List Technical <[email protected] 
> <mailto:[email protected]>>
> Subject: FYI: [v17.3] - Create Folder (hierarchy) findings 
> Message-ID:
>       <[email protected] 
> <mailto:[email protected]>>
> Content-Type: text/plain;     charset=utf-8
> 
> G’day,
> 
> If the following has been mentioned before - sorry for the noise.
> 
> Tested/confirmed on Mac  macOS 10.13.6 interpreted
> 
> $MyFolderHierarchy:=“MyRoot"
> Create Folder ($MyFolderHierarchy)
> 
>       creates the folder “MyRoot” at the same level as the structure file
> 
> 
> 
> $MyFolderHierarchy:=“MyRoot"
> Create Folder ($MyFolderHierarchy;*)
> 
>       does NOTHING
> 
> ,,,,


> $SourcePath:=Get 4D folder(Database folder)//!!!!!!!!!!
> 
> $MyFolderHierarchy:=$SourcePath+"MyRoot”+Folder separator+"Level1"+Folder 
> separator+"Level2"+Folder separator+"Level3"+Folder separator
> 
> Create Folder ($MyFolderHierarchy;*)
> 
>       Will have the wanted effect —> new folder hierarchy starting at the 
> structure level.
> 
> 
> Conclusion: It might be a good idea to use an absolute path at all times.
> 
> My 2¢
> 
> HTH
> 
> Cheers
> 
> ------------------------------

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to