Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO off
- title Check Garlicoin
- color 0a
- :start
- echo Type W for balance, B for blockheight, C for connections
- echo or A for all info. Leave blank to exit.
- set /p pick=Enter here:
- if /I %pick%==W goto balance
- if /I %pick%==B goto blocks
- if /I %pick%==C goto connections
- if /I %pick%==A goto all
- goto end
- :balance
- cls
- echo.
- garlicoin-cli getwalletinfo | find "balance"
- echo.
- set pick=e
- goto start
- :blocks
- cls
- echo.
- garlicoin-cli getinfo | find "blocks"
- echo.
- set pick=e
- goto start
- :connections
- cls
- echo.
- garlicoin-cli getinfo | find "connections"
- echo.
- set pick=e
- goto start
- :all
- cls
- echo.
- garlicoin-cli getinfo
- garlicoin-cli getwalletinfo
- echo.
- set pick=e
- goto start
- :end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement