@ECHO OFF TITLE Network Tools CLS :LOOP ECHO A. IP Config [info] ECHO B. IP Config [renew] ECHO C. NetStat ECHO Q. Quit SET Choice= SET /P Choice=Type the letter and press Enter: IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1% ECHO. IF /I '%Choice%'=='A' GOTO Ipconfig IF /I '%Choice%'=='B' GOTO Ipconfigr IF /I '%Choice%'=='C' GOTO Netstat IF /I '%Choice%'=='Q' GOTO End ECHO "%Choice%" is not valid. Please try again. ECHO. GOTO Loop :Ipconfig ECHO IP Config [info] ipconfig /all GOTO Again :Ipconfigr ECHO IP Config [renew] ipconfig /renew GOTO Again :Netstat ECHO Netstat netstat -a -n GOTO Again :Again PAUSE CLS GOTO Loop :End