Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Connect to Wireless Network w/ Batch  (Read 3332 times)

0 Members and 1 Guest are viewing this topic.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Connect to Wireless Network w/ Batch
« on: May 17, 2010, 06:14:03 PM »
Is there any way to connect to a wireless network with batch? Deepfreeze prevents any settings from being stored, so it is a pain in the behind to hunt down my router's driver cd to get my passkey every time I want to connect to the internet.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

Sid



    Apprentice
  • Thanked: 8
    • Experience: Experienced
    • OS: Windows XP
    Re: Connect to Wireless Network w/ Batch
    « Reply #1 on: May 18, 2010, 08:58:02 AM »
    I don't think there is a way to connect to a WiFi network and enter the credentials using a batch script.

    Are you able to install other programs?

    If so, have a look at http://passwordsafe.sourceforge.net/.  It's a pretty nice little application that stores your passwords securely in an encrypted datafile.

    Alternatively, you might have better luck with a Powershell script.  I'll look into it and let you know what I find.

    EDIT:  After a breif search I couldn't find anything that looks easy to implement (ie scripting), although someone else might know of a way.

    Helpmeh

      Topic Starter


      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Connect to Wireless Network w/ Batch
    « Reply #2 on: May 18, 2010, 04:58:27 PM »
    Is it possible to accomplish this with VBS then? Deepfreeze not only stops settings from being changed (and saved), it also prevents programs from being installed.
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Connect to Wireless Network w/ Batch
    « Reply #3 on: May 18, 2010, 08:27:53 PM »
    You might be able to conjure up something with netsh...

    I was trying to dereference Null Pointers before it was cool.

    Helpmeh

      Topic Starter


      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Connect to Wireless Network w/ Batch
    « Reply #4 on: May 20, 2010, 03:32:14 PM »
    You might be able to conjure up something with netsh...


    I read they only added WLAN to netsh in Vista...I don't see anything regarding WLAN in XP.
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.