Get characters or ASCII codes in Windows Console.
Get characters from ASCII codes or the other way in Windows Console.
- Download exe file.
- Copy to
C:\Program_Files\Scripts
.- Add
C:\Program_Files\Scripts
toPATH
environment variable.
> echar [--ascii|-a] [--verbose|-v] [--input|-i <input string>]
:: [] -> optional argument
:: <> -> argument value
:: get character of ESC (27)
> echo 27|echar
:: get character of SOH (1)
> echar --input 1
:: get verbosed character of STX (2)
> echar --verbose -i 2
:: get verbosed ascii codes of 'a', 'b', 'c'
> echar --ascii -v -i "abc"