Jump to content
Sign in to follow this  
aphesia

progress bar of .bat file

Recommended Posts

aphesia

hello.. is there a way to get a progress bar showing the progress of a .bat file`?

the .bat file mainly starts a programm, moves some files (add them to itunes libary and updates the tracker).

thanks

Share this post


Link to post
Share on other sites
PsaltyDS

hello.. is there a way to get a progress bar showing the progress of a .bat file`?

the .bat file mainly starts a programm, moves some files (add them to itunes libary and updates the tracker).

thanks

Somehow, the AutoIt script needs to know how much work is to be done (i.e. number of files to add), and how far it has gone. The .bat file could write info to a log file, which the AutoIt script could monitor. Or the .bat file could ECHO status to the console, which AutoIt could monitor if you Run() the .bat file with $STDOUT_CHILD and use StdOutRead().

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
b1naryatr0phy

If you're okay with putting the bat file up to see that would make it a bit easier.

Is the bat file itself moving the files? What other functions is the bat file using?

Edited by b1naryatr0phy

Share this post


Link to post
Share on other sites
aphesia

jut figured otu it wouldn´t work anyway..

the but file just runs a programm with different parameters.. so i would have to check the progress of the programm it starts (no i dont have the source)..

its called itunes-library updater.

thanks anyway :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.