rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: pc-coholic on April 25, 2010, 10:53:36 AM
-
Hi everyone!
I spent looking for a solution for about an hour now - perhaps I'm just missing the obvious...
I'm launching hfs with
hfs.exe "C:\some\folder\to\add\"
Now HFS adds the folder to list of served folders - but there is just one thing: The popup asking me, if this is a real or a virtual folder.
How can I provide HFS directly from the command line with the information, to add this directory as a real folder?
(The problem is, that I can't juse a VFS-File, as the path changes every time I start HFS...)
Thanks a lot for your help!
Martin
-
Solved by adding
add-folder-default=real
into the hfs.ini-File :)
-
that was easier to do by
menu > virtual file system > adding folder
;)
-
Want to bring this topic back up. I have installed HFS on server core. For some reason when I try to add a real folder it only lets me add C:\ and I cannot add any subdirectories. I think this is a limitation of how the Windows Explorer works in Server core, because I can add files in other directories with no problems.
Is there an actual command or .ini parameter to add real folder E:\add\this\folder
-
Hi, welcome to the forum...
For some reason when I try to add a real folder it only lets me add C:\ and I cannot add any subdirectories.
Be sure to run HFS with admin rights, and better install HFS directly it on a folder on C:\ (not inside 'Program Files', 'Documents and Settings', 'Windows', or any other protected/restricted folder). Perhaps that fixes your issue.
Is there an actual command or .ini parameter to add real folder E:\add\this\folder
As far I know, it's not possible. It doesn't exists a .ini parameter to directly share folders.
-
you didn't specify HOW you tried to add the real folder.
there are 3-4 methods, i think, but they are mostly equivalent.
did you try to drag&drop the folder from windows explorer to HFS window ?