| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <bcbc1a8604100513506028919a@mail.gmail.com> |
| Date: | Wed, 6 Oct 2004 04:50:57 +0800 |
| From: | "Edward L. Fox" <edyfox AT gmail DOT com> |
| Reply-To: | "Edward L. Fox" <edyfox AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: (De)activating network connection |
| In-Reply-To: | <OF694183C2.CFA4EE65-ON03256F24.006CB529-03256F24.0071B3F7@fosfertil-ultrafertil.com.br> |
| Mime-Version: | 1.0 |
| References: | <OF694183C2 DOT CFA4EE65-ON03256F24 DOT 006CB529-03256F24 DOT 0071B3F7 AT fosfertil-ultrafertil DOT com DOT br> |
| X-IsSubscribed: | yes |
Hi Thiers,
You may try netsh.exe. It's a built in utility in Windows.
Good luck!
Edward L. Fox
2004-10-06
From: edyfox AT gmail DOT com
On Tue, 5 Oct 2004 17:42:37 -0300, Thiers Botelho
<thiers AT fosfertil DOT com DOT br> wrote:
> Hi all,
>
> After searching google and cygwin.com I couldn't find what follows (well,
> maybe didn't search thoroughly enough, but then I couldn't make the search
> terms very much objective . . .)
>
> I wish to use some command within a script to activate / deactivate an
> Ethernet connection.
>
> In WinXP this would normally be done thru Settings / Network Connections /
> Local Connection / right-click .
>
> I found _rasdial.exe_ but it seems to deal only with dial-up connections.
>
> There's got to be some simple cmdline on/off switch somewhere (hope that
> won't be regedit . . .)
>
> Any hints on that are welcome.
>
> Thnx all
>
> Thiers Botelho
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |