Create A A Program That will Assit The User to Open his Favorite - TopicsExpress



          

Create A A Program That will Assit The User to Open his Favorite Programs In Batch Programming : david Kamwela @echo off TITLE FAVOURITE PROGRAMS :loop cls echo. echo This are your Favourites Programs echo. echo 1:Vlc echo 2:Notepad echo 3.To Exit the Program echo. set /p var=Enter the Number of the Program You want: if %var%==1 ( start C:\Program Files\VideoLAN\VLC\vlc.exe )else if %var%==2 ( start C:\WINDOWS\system32\notepad.exe ) else if %var%==3 ( goto exit )else ( echo. echo ERROR 303 ! THE CHOICE YOU ENTERED WAS INCORRECT ! ) echo. :again echo. echo Press 3 to Exit. echo Press 4 to Repeat. echo. :car echo. set /p choice=Enter the Choice: if %choice%==4 (goto loop ) else if %choice%==3 goto exit ) else ( echo. echo ERROR 304 ! THE CHOICE YOU ENTERED WAS INCORRECT ! goto again ) :exit exit
Posted on: Thu, 30 Jan 2014 21:10:47 +0000

Trending Topics



Recently Viewed Topics




© 2015