View Single Post
  #2 (permalink)  
Old 11-27-2007, 07:07 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,516
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Code:
echo  Choice 
echo.
echo Press 1 to show Systeminfo
echo Press 2 to to do a CHKDSK
echo Press 3 to show all the files in the current directory
echo.
choice Your choice:
if errorlevel 3 goto do3
if errorlevel 2 goto do2
if errorlevel 1 goto do1
:do1
.... code here
:do2
etc...
This is untested but I believe correct.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote