Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done Redirection Switch ANSI / UNICODE

Sep
134
1
like Powershell's -Encoding switch.
It would be helpful, because in some cases I need to create an ANSI-File by
redirection, e.g. to create a command list for DISKPART.
So in a BTM I must use the construct
Code:
 Set unicodeoutput=%@OPTION[UNICODEOUTPUT]
    OPTION //UNICODEOUTPUT=NO
      Echo List Volume>%diskpart_input%
    OPTION //UNICODEOUTPUT=%unicodeoutput%
 
Aha ! Sounds interesting :smile:
 

Similar threads

Back
Top