Mcinwwl Posted February 28, 2016 Share Posted February 28, 2016 (edited) Didn't know that one before Edited February 28, 2016 by Mcinwwl 1 Link to comment Share on other sites More sharing options...
jaclaz Posted February 29, 2016 Share Posted February 29, 2016 Only to be able to release *something* on February 29, a small batch (a simple adaptation of multiply.cmd):http://reboot.pro/topic/2986-yacbfc-dec2hexcmd-and-hex2deccmd/KMG2B.cmd :small batch file to convert numbers expressedin Kb, Mb, Gb into bytes, overcoming the 0x07FFFFFFlimit in batch (aka 2,147,483,647)this is about "real" K/M/G, i.e. powers of 1024what would be now called KiB, MiB, GiB.******** Version 1.0 29 February 2016 ********by jaclazThis file is licensed under my "CAREWARE" license:http://jaclaz.altervista.org/Projects/careware.htmlUsage:KMG2B.cmd Integer[K|M|G]jaclazKMG2b.zip 1 Link to comment Share on other sites More sharing options...
congnt92 Posted March 1, 2016 Author Share Posted March 1, 2016 Only to be able to release *something* on February 29, a small batch (a simple adaptation of multiply.cmd):http://reboot.pro/topic/2986-yacbfc-dec2hexcmd-and-hex2deccmd/KMG2B.cmd :small batch file to convert numbers expressedin Kb, Mb, Gb into bytes, overcoming the 0x07FFFFFFlimit in batch (aka 2,147,483,647)this is about "real" K/M/G, i.e. powers of 1024what would be now called KiB, MiB, GiB.******** Version 1.0 29 February 2016 ********by jaclazThis file is licensed under my "CAREWARE" license:http://jaclaz.altervista.org/Projects/careware.htmlUsage:KMG2B.cmd Integer[K|M|G]jaclaz Try KMG2B.cmd, work perfectly.But if put it in directory which contain space in path it'll error. You may add some double quote for general use. Tks Link to comment Share on other sites More sharing options...
jaclaz Posted March 1, 2016 Share Posted March 1, 2016 Try KMG2B.cmd, work perfectly.But if put it in directory which contain space in path it'll error. You may add some double quote for general use. Tks Well, that is left as an exercise for the reader, if he/she actually uses directories with spaces, however, it still works, only if you run it without parameters, won't find itself and not print the "help" text, but otherwise functions fine. jaclaz 1 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