Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to automate Batch file loading bar when loading files and how to load?

Hi Guys. I wanna make the Batch File to automate the loading bar when itself is loading some files. Like when the batch is loading some files and and bar will move itself. Help? And also, how to make it load the files? Thanks.

Update:

Tanisha: Umm... Like... okay, for simple one, let's say I want to create an installer, and the files are needed and it needs to be extracted. Any ideas?

4 Answers

Relevance
  • Favorite Answer

    by default batch files don't have any commands for graphics or more appropriately Graphic User Interface. Because of this you have to be really creative with batch files or just google other peoples method of doing this.

    To do this first you must create the graphic part.

    You can use characters that looks like bars or icons such as ▒ , ▓ and █

    use echo to display them of course

    here's a quick example.

    @echo off

    :: display bar thats still empty

    echo OOOOOOOOOO

    copy windows7.ISO D:\

    cls

    ::after COPY has done copying display a progress

    echo @@@@@OOOOO

    copy filelib.dll c:\myapp\

    cls

    ::display progress

    echo @@@@@@@@@@ done!

    pause > nul

  • 5 years ago

    Sure, that you may echo batch file instructions to an extra batch file and phone it in the future. For instance: @echo off echo 1) new sport echo 2) Load new recreation set /p input= if %input%==1 ( echo set level=1>stats.Bat echo set well being=4>>stats.Bat echo set money=500>>stats.Bat ) call stats.Bat echo money: %cash% echo wellbeing: %well being% echo level: %degree% pause goto sport

  • Anonymous
    8 years ago

    Please watch my simple video on YouTube on how to make a batch loading bar: http://www.youtube.com/watch?v=PFASPsZOBmM

  • ?
    Lv 6
    8 years ago

    What do you mean by "load"?

Still have questions? Get your answers by asking now.