the scripting language is able to do this.
there's a command called "add folder".
read more at
http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands#Virtual_File_System_manipulationat the moment there's no designed way to run a script at command line, it will come in future versions.
that's how you can workaround this:
- create a virtual folder called "whatyouwant" (consider hiding it)
- right click on it > properties > diff template
- put your script there, and you will be able to call this script by accessing url
http://localhost/~whatyouwantif you don't know how to access the url at command line, download an utility like
wget, so that you can just run: wget http:/etcetcetc
at this point, only left problem is to communicate the path and possibly other stuff.
a good option would be if the script determines this data itself, and there's no need to communicate.
otherwise, the easiest way would be to add your data to the url, when calling through
wget
http://localhost/~whatyouwant?path=C:\test&trueName=fooyou will access path and trueName in the script through {.?path.} and {.?trueName.}