PcExpert Posted May 27, 2006 Share Posted May 27, 2006 Is it possible to display the MB's read in place from bytes read? Thanks, PcExpert Link to comment Share on other sites More sharing options...
Rick Posted May 27, 2006 Share Posted May 27, 2006 Is it possible to display the MB's read in place from bytes read?Thanks,PcExpertbytes/1024/1024 Who needs puzzles when we have AutoIt!! Link to comment Share on other sites More sharing options...
Rick Posted May 27, 2006 Share Posted May 27, 2006 (edited) bytes/1024/1024for example:$size = Round(InetGetSize("http://www.autoitscript.com/autoit3/files/beta/autoit/autoit-v3.1.1.125.zip ")/1024/1024,2) & " mb"MsgBox(0, "Size of remote file:", $size) Edited May 27, 2006 by Rick Who needs puzzles when we have AutoIt!! Link to comment Share on other sites More sharing options...
PcExpert Posted May 27, 2006 Author Share Posted May 27, 2006 Thanks, But can someone tell we what the numbers do? Thanks, PcExpert Link to comment Share on other sites More sharing options...
Emperor Posted May 27, 2006 Share Posted May 27, 2006 Well there are 1024 bytes in every Kb and 1024 Kb's in every Mb, so to find that out how many MB's there are you divide the amout of bytes you have by 1024 to find out how many Kb's there are then divide that by 1024 to find out how many Mb's there are. 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