Thanks firebolt, Those pages helped some but I found all the help I need here:
http://www.dostips.comIn case anyone is interested here is what I came up with.
CODE
@echo off
REM.-- Prepare the Command Processor
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ENABLEDELAYEDEXPANSION
set fname=%~n0
:redo
cls
set count=1
for %%f in (*.*) do (
echo.
echo !count! - %%f
set mis!count!=%%f
set /A count=!count!+1
)
set /A count=%count%-1
echo.
set /P input=Please select or 0 (zero) to exit [1-%count%]:
if %input% == 0 mainmenu.bat&goto:eof
if %input% LEQ %count% goto run
goto return
:run
set runmis=mis%input%
call set run_mis=%%%runmis%%%
echo %run_mis%
echo %fname%
goto:eof
:return
echo wait.bat goes here
echo Sorry improper input, please try again!
pause
goto redo
Sorry all, this code will give you a menu of file names from any folder you point it to and allow you to pick a file from that menu. Right now it will generate a menu from the current folder.
This post has been edited by Billy885: 2 Jul, 2009 - 11:17 PM