HostsFileEditor icon indicating copy to clipboard operation
HostsFileEditor copied to clipboard

Add command line functionality

Open DmShAl opened this issue 11 years ago • 1 comments

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)

DmShAl avatar Jun 17 '13 06:06 DmShAl

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.

scottlerch avatar Jun 20 '13 18:06 scottlerch