rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Anonymous on April 10, 2006, 05:57:36 PM

Title: Start HFS stopped
Post by: Anonymous on April 10, 2006, 05:57:36 PM
Hi,
Firstly i want to say thanks for such a great program!
I discovered it though Hak.5 episode 9

One quick question though, can i pass parameters to HFS when it boots up, at the moment ive tried but its adding as if I want a new directory.

For example I want to start HFS everytime I boot up, but I want it to start in OFF mode. Is there a parameter to do this?

eg c:\hfs.exe /off


Thanks in advance
Chris Rowe
Title: Start HFS stopped
Post by: ~GeeS~ on April 10, 2006, 06:03:02 PM
Just edit the hfs.ini file.
Title: Start HFS stopped
Post by: Anonymous on April 10, 2006, 06:04:17 PM
the above was me,
I only have hfs.exe

do i need to create the ini file or is it saved somewhere else than the hfs directory?
Title: Start HFS stopped
Post by: Anonymous on April 10, 2006, 06:09:13 PM
I have saved config so hfs.ini is there now,
however this is overwritten when HFS closes so if i close HFS in ON mode, it boots up in ON mode.

I want it to always boot up in OFF mode
Title: Start HFS stopped
Post by: ~GeeS~ on April 10, 2006, 06:10:50 PM
the hfs.ini is created at first run of hfs.exe in the same directory or use the menu:save option
Title: Start HFS stopped
Post by: ~GeeS~ on April 10, 2006, 06:11:43 PM
switch autosave on exit to off! Should be default anyway btw
Title: Start HFS stopped
Post by: rejetto on April 11, 2006, 12:23:13 PM
Quote from: "Anonymous"
I want it to always boot up in OFF mode
just switch it off manually, and quit.
next time you run HFS, it will be OFF.

if this does not work, then there is some problem in saving your configuration.

ATM there are only few parameters possible by the command line, and there is no paramer for switch off.
HFS has lots of config things. maybe a good way to make all available is a single parameter that let you load an additional ini file that will overlap the existing one.
Title: Re: Start HFS stopped
Post by: rejetto on April 11, 2006, 12:25:59 PM
Quote from: "Anonymous"
Hi, Firstly i want to say thanks for such a great program!
I discovered it though Hak.5 episode 9
was it in the show or in a forum?