Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SET /A cel = %~z1/(1024*1024)
- SET /A ost = %~z1%%(1024*1024)
- IF %~z1 GEQ 102400 (
- echo %~nx1 %cel%.%ost:~0,2% MB
- ) ELSE (
- IF %~z1 GEQ 10240 (
- echo %~nx1 %cel%.0%ost:~0,1% MB
- ) ELSE (
- echo %~nx1 %cel%.00 MB
- )
- )
- echo %~z1 B
- pause > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement