none
netsh wlan show profiles name=[profile name] key=clear batch file RRS feed

  • Question

  • i want to make a bat.file for this command : netsh wlan show profiles name=[profile name] key=clear.

    when i start the bat.file, i want to only write in the network name, and just press enter. and then the network key will show.

    can you help me please??

    ps, sorry for bad english...

    i think something like this(can't finish, because don't know how), and i dont ewen know if this command is properly written, please edith and share it. :)

    @echo off
    :home
    title net password
    color a
    cls
    echo.
    echo network
    echo=============
    echo.
    echo [1] input ssid
    echo [2] exit
    echo.
    set /p op=
    if %op%==1 goto 1
    if %op%==2 goto 2
    :1
    color a
    cls
    echo network key
    echo ================================
    echo.
    Set /p username=Username:
    netsh wlan show profiles name=[username] key=clear

    Thursday, November 6, 2014 10:38 AM

Answers

  • More like this:

    Set /p username=Username:
    netsh wlan show profiles %username% key=clear


    ¯\_(ツ)_/¯

    • Marked as answer by joakim16 Thursday, November 6, 2014 3:49 PM
    Thursday, November 6, 2014 12:25 PM

All replies

  • More like this:

    Set /p username=Username:
    netsh wlan show profiles %username% key=clear


    ¯\_(ツ)_/¯

    • Marked as answer by joakim16 Thursday, November 6, 2014 3:49 PM
    Thursday, November 6, 2014 12:25 PM
  • @echo off
    color a
    Set /p Network name=Network name:
    netsh wlan show profiles %Network name% key=clear
    pause
    • Proposed as answer by Bayden10 Monday, February 26, 2018 2:38 PM
    Thursday, November 6, 2014 3:49 PM
  • How it displays a (password / network key) when we give the command key=clear. Normally the key is encrypted, how it decrypt when we give key=clear.

    Kindly reply me.

    Tuesday, June 7, 2016 12:19 PM