rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: MelkiyProd. on March 16, 2014, 11:16:35 AM

Title: add folders
Post by: MelkiyProd. on March 16, 2014, 11:16:35 AM
I have 1 question. How can I add folder to sub folder via scripting commands?
{.add folder|real|test.}

I want {.add folder|real|test|path=/id/test.}

Help plz.
Title: Re: add folders
Post by: Mars on March 16, 2014, 11:02:06 PM

add folder | A | B | C  is used to add a folder in the VFS, look at
http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands

its possible to define properties of the new item by using  set item | A


to create a new real folder inside a real folder you have to use mkdir | A
Title: Re: add folders
Post by: rejetto on March 29, 2014, 09:16:54 PM
this should work
{.add folder|real|C:\test|/another-folder/test.}
Title: Re: add folders
Post by: MelkiyProd. on April 02, 2014, 03:55:03 PM
this should work
{.add folder|real|C:\test|/another-folder/test.}

Thanks, it's work  8)