carlos-montiers / enhancedbatch

Enhances your windows command prompt https://www.enhancedbatch.com
Other
5 stars 1 forks source link

Echo should interpret all the arguments as text #5

Closed carlos-montiers closed 5 years ago

carlos-montiers commented 5 years ago

The echo command should interpret all the arguments as text. echo on should print on echo /? should print /?

For know the status or control it, a new extension with setter and getter should be added: @echo set @echo=on' should enable the echo. set @echo=off' or `set @echo=' should disable the echo. echo %@echo% should print 'on' or 'off' accordingly to the echo command status.

adoxa commented 5 years ago

Added in c7b8acb, although it only uses 0 and 1 (I'll add on/true and empty/off/false for all boolean options in a separate commit; they will, however, always get 0 or 1).