Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line functionality #2

Open
DmShAl opened this issue Jun 17, 2013 · 1 comment
Open

Add command line functionality #2

DmShAl opened this issue Jun 17, 2013 · 1 comment

Comments

@DmShAl
Copy link

DmShAl commented Jun 17, 2013

Hello,
Thank you for the excellent and really useful program.
I think it would be great to add command line functionality to switch presets. For example you want to add some lines to your hosts file before running one program and revert hosts file after closing that program.
Something like:

run.cmd
///////////////////////////////////////////////////
HostsFileEditor.exe -s MyHosts1
program.exe
HostsFileEditor.exe -s DefaultHosts
///////////////////////////////////////////////////

Where is MyHosts1 and DefaultHosts - your presets (archive)

@scottlerch
Copy link
Owner

I could see how that would be nice in some cases. If someone submits a pull request with some command line features like that I'd accept it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants