Here is my code:
@echo off
Title Search Providers
:home
Echo [1] Google
Echo [2] Bing
Echo [3] Yahoo
Set /p udefine
If %udefine%== 1 start www.google.com
If %udefine%== 2 start www.bing.com
If %udefine%== 3 start www.yahoo.com
I really don't understand because most of the batch files I make close like that too.
Try typing
<space>1. Because you have a space after the=sign inIf. Your test isIf 1== 1 start www.google.com, so will never match.Menus are best done with choice.