Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Milo (0.15 sec)

  1. src/main/assemblies/files/service.bat

    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    Batch File
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top