rejetto forum

command line parameter: -c

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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
« Last Edit: January 26, 2010, 02:04:20 PM by rejetto »


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Would this be permanent switches or temporary overrides? Will they be written back to the INI or registry.
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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