Batch file help plz >< Tags: Explorer Windows XP Last response: May 22, 2007 5:45 PM in Windows XP Share gumby May 21, 2007 3:30:48 PM Hey I was ask to create a batch file that will prompt the user using the CHOICE and GOTO commands. [code:1:5b30a46df0] @echo off cls REM create menu echo ***************** echo * f = Notepad * echo * n = Explorer * echo * e = Control Panel* echo ***************** REM offer choice to user choice /e nec /f "Enter the program you wish to open:" REM if user enters C, run Control Panel if not errorlevel 3 goto exp control.exe goto end :exp REM if user enters E, run Explorer if not errorlevel 2 goto note explorer.exe goto end :note REM if user enters N, run notepad if errorlevel 1 notepad.exe goto end :end [/code:1:5b30a46df0] When i run the batch file i get: "choice" is not recognized as an internal or external command,operable program or batch file. Could some one take a look and suggest a way to fix it please. thank for your time More about : batch file plz pkellmey May 21, 2007 5:04:09 PM Do you have Choice in your path? gumby May 21, 2007 5:28:00 PM Quote:Do you have Choice in your path? No real restrictions just want it to work lol Can't find your answer ? Ask ! Get the answer pkellmey May 22, 2007 5:45:20 PM Quote:Do you have Choice in your path? No real restrictions just want it to work lol If you did, it probably would. Can't find your answer ? Ask ! Publish Related resources T-Racks Batch Conversion? Help PLZ ! Forum Batch file help !! Forum Batch file help Forum Playing .Wav in Batch File Forum Windows 7 batch file newbie Forum Batch file runs on windows but not running on task sheduler Forum Batch File Beep Forum Batch file to log in using static IP with u.name and password Forum Need help with Batch file Forum Batch file needed to combine all subdirectories to one Forum Batch file with multiple if statements Forum Windows batch file : set output of program to a variable? Forum Batch file renaming based on barcode Forum Batch File for Saving and Clearing Event Viewer Logs Forum Help for writing batch file to rename files in a folder in particular pattern. Forum Need help with basic batch file Forum Batch file Menu Forum PCMCIA slots need more power??? HELP! Forum More resources Read discussions in other Windows XP categories Configuration Customization Drivers Security Video !