Donate SIGN UP

More CMD trouble

Avatar Image
Nikephoros1 | 18:39 Wed 05th Sep 2007 | Technology
7 Answers
I have built a batch file, to extract some cabinet files, to differnt locations on a computer. I was wondering how i could create a progress bar, to show the percent complete. Therefore allowing a more user friendly interface. Also i want to create a menu, with two options. One option runs one batch file and the other option runs another batch file. I used to be able to do menus quite well, but my minds just gone blank.
Cheers.
Gravatar

Answers

1 to 7 of 7rss feed

Best Answer

No best answer has yet been selected by Nikephoros1. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Menu.bat

@echo off
cls
echo.
echo.
echo Choose an Option
echo.
echo.
echo 1. Do Something
echo.
echo 2. Do Something Else
echo.
prompt $p$g Please select 1,2 or eXit :
1.bat

@echo off
cls
; some command or other
menu
2. bat

@echo off
cls
; some other commands
menu
x.bat

@echo off
Prompt $p$g
cls
I can't think of any way you can show a progress bar on a console screen
Question Author
Cheers rojash.
Thats the menu sorted, what i meant by a progress bar was, basicly the percentage completed is echoed to the screen. So it shows you how far you've got.
The progress thing .. is as old as dos
you can't do it with dos ... but some extractors ... will show a progress indicator if you use the verbose switch


1 to 7 of 7rss feed

Do you know the answer?

More CMD trouble

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.