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