home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,929 of 42,547   
   FromTheRafters to FromTheRafters used his or her keyb   
   Re: Win10 network on/off toggle with adm   
   10 Feb 21 14:55:24   
   
   From: erratic@nomail.afraid.org   
      
   FromTheRafters used his or her keyboard to write :   
      
   > If there is a simpler solution out there that is a single click   
   > I'd be happy to test it out.   
      
   Someone suggested bringing the Ethernet adaptor into the taskbar as a   
   shortcut which can then be used to hit the "Disable" button.   
      
   Here's what they suggested (but it didn't toggle back on for me).   
      
   I went to Control Panel\Network and Internet\Network Connections\   
   I right clicked on "Ethernet" & chose "Create Shortcut"   
   which only allowed the shortcut to go to the desktop (which is ok).   
      
   I right click on the taskbar and select "Toolbars -> Links"   
   which adds a fugly "Links" section to the taskbar.   
      
   I dragged the desktop "Ethernet" shortcut into "Links" in the taskbar.   
      
   When I left clicked on "Links -> Ethernet" comes up as "Ethernet Status"   
   Which has a GUI with a big fat "Disable" button (at first).   
      
   Then from the Taskbar I can click on that Ethernet shortcut in the Links   
   section of the taskbar to toggle the network from enable to disable.   
      
   Oddly the Disable button is on a GUI but the Enable just happens   
   when you click on the "Ethernet" icon (without a GUI). Strange.   
      
   The disable works but the enable isn't consistent in my tests today.   
      
   Worse, I tried to put the Ethernet shortcut in the taskbar but nothing I   
   tried would let me do that (you can't right click and "pin to taskbar" for   
   example and you can't move it to the taskbar because it won't stick).   
      
   You can right click it and Send To your start menu or just move it there   
   C:\Users\FTR\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Ethernet   
      
   But I couldn't get that "Ethernet" shortcut to stick to the taskbar   
   no matter what I tried.   
      
   If this Ethernet adaptor disable/enable method can be made to work in a   
   batch script it would toggle the network (and not just the gateway).   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca