rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on January 26, 2010, 02:02:48 PM

Title: command line parameter: -c
Post by: rejetto on January 26, 2010, 02:02:48 PM
hi guys,
i just documented the new command line parameter "-c"
http://www.rejetto.com/wiki/index.php/HFS:_Command_line_parameters

if you are an advanced user you should definitely have a look at it, because it lets you automate lots of things very easily without having to mess with scripting (macros).

let's say you want your server to be active only from 8AM to 4PM,
you can schedule Windows to run this command at 8AM
hfs -c active=yes

then another schedule for 4PM
hfs -c active=no

and this was just a quick example. You can have a look at your hfs.ini to have an idea of what you can do. Anything in it can virtually be modified by using -c
Title: Re: command line parameter: -c
Post by: MarkV on January 26, 2010, 02:16:29 PM
Would this be permanent switches or temporary overrides? Will they be written back to the INI or registry.
Title: Re: command line parameter: -c
Post by: rejetto on January 26, 2010, 02:37:59 PM
permanent, as permanent is when you click on the menu options.


i mean, your system may have a power failure before the options are saved to disks, and in this case changes would be lost. :P