Menu

#1 command-line switch to select profile

Next Release
closed
None
5
2022-03-11
2012-08-15
B B
No

If there's not already a way, would you consider allowing the EXE to be run with a command-line parameter to select the active profile? I have scripts that run based on where my laptop wakes up (e.g. Work, Home, Public).

Discussion

  • Sam Lippert

    Sam Lippert - 2016-02-23

    Added in https://sourceforge.net/p/hostsmanager/code/14/.
    The arguments to the application are supplied to a new or running hosts manager as the profile to use:
    hostsmanager.exe "Profile To Use"

     
  • Sam Lippert

    Sam Lippert - 2016-02-23
    • status: open --> accepted
    • Group: --> Next Release (example)
     
  • Sam Lippert

    Sam Lippert - 2016-11-20
    • assigned_to: Sam Lippert
     
  • Sam Lippert

    Sam Lippert - 2016-11-20

    The UI now updates to reflect the current state of a command-line chosen profile.

     
  • Sam Lippert

    Sam Lippert - 2016-11-20
    • status: accepted --> closed
     

Log in to post a comment.