Marthax Posted May 27, 2004 Share Posted May 27, 2004 hi everybody!does anyone know which command to use for a batch file to show percentage of something when it's working? for example if i'm installing some applications and i want the batch file to show me how much of the installation has passed..is it possible? second thing..how do i change the colour of the fonts in a batch file..for an example i want the blue colour to be used in my batch file instead of the usual white one. Somebody? Thanks In AdvanceCheers, Link to comment Share on other sites More sharing options...
bucketbuster Posted May 27, 2004 Share Posted May 27, 2004 Have a look at jdeboeck's batches.I think in one of them (the finishing off.cmd one) you may find the "code". Link to comment Share on other sites More sharing options...
Alanoll Posted May 27, 2004 Share Posted May 27, 2004 color is COLOR xxas for percentage, i think BucketBuster is refering to the percentage that is displayed when makecab is running.As for showing the actual percentage, the best thing I can think of, would be periodically guestimate in your batch file, have it ECHO your percent. Link to comment Share on other sites More sharing options...
Marthax Posted May 28, 2004 Author Share Posted May 28, 2004 ok, thanks guys! But i was referring to a more complicated percantage showing, perhaps some kind of program...Isn't it possible to show the percentage of something in the batch file when it's executing? Link to comment Share on other sites More sharing options...
[BM]Crusher Posted May 28, 2004 Share Posted May 28, 2004 i've never seen such a percentage program... how would it work anyway? it would have to know how long a particular piece of code (or app install) is going to take to give an accurate percentage read out... but this speed will depend on how fast the computer is, what mode you are running your batch file in (cmdlines.txt is a bit slower than through windows) etc etc etc...if it's possible i'm sure a quick google search will give results... and if you do find one let us know Link to comment Share on other sites More sharing options...
jrzycrim Posted May 28, 2004 Share Posted May 28, 2004 messgae removed. posted in the wrong thread! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now