Hello everyone
what I need to do is switching my network adaptors on/off with a batch file.
Right now, I have two batch files, one of them to disable adaptor 1 and enable adaptor 2.
the second batch file is to disable adaptor 2 and enable adaptor 1.
is there any way I can merge them into a smarter file, maybe with an "IF" command or anything like that, so that it checks to see which adaptor is enabled and disable it, and vice-versa?
Thanks in advance
help for creating batch file
Moderator: DosItHelp
Re: help for creating batch file
It could be a yes;saeid_1987 wrote: ↑12 Mar 2019 23:59is there any way I can merge them into a smarter file, maybe with an "IF" command or anything like that, so that it checks to see which adaptor is enabled and disable it, and vice-versa?
it depends on the source code you have.
Maybe you should consider also positing that sources.
penpen