rejetto forum

### Add "Real Folder" by Commandline

Guest · 6 · 2516

0 Members and 1 Guest are viewing this topic.

#### pc-coholic

• Guest
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
Code: [Select]
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

#### pc-coholic

• Guest

Code: [Select]
add-folder-default=real
into the hfs.ini-File

#### rejetto

• Tireless poster
• Posts: 13436
that was easier to do by

#### roborob301

• Occasional poster
• Posts: 1
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

#### LeoNeeson

• Tireless poster
• Posts: 787
• Status: On hiatus (sporadically here)
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.