Author Topic: command line parameter: -c  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

Offline rejetto

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

Offline MarkV

  • Tireless poster
  • ****
  • Posts: 746
    • View Profile
Re: command line parameter: -c
« Reply #1 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.
http://worldipv6launch.org - The world is different now.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: command line parameter: -c
« Reply #2 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