Re: Saving a filename with a unicode character
Posted: 08 Apr 2012 14:34
@MKANET
Small workaround. Change test.bat as follows and double click it (callbat.vbs must be available).
You will lose the arguments you possibly passed.
@Ed
These characters can't be assigned to a variable inside of a batch code because they are not supported. Youre example also doesn't work for me.
Regards
aGerman
Small workaround. Change test.bat as follows and double click it (callbat.vbs must be available).
Code: Select all
@echo off &setlocal
if not defined emptytriangleleft (
start "" "callbat.vbs"
goto :eof
)
set "x=%emptytriangleleft% Here %emptytriangleright%.txt"
set "y=%fulltriangleleft% NOT HERE %fulltriangleright%.txt"
>"%x%" type nul
>"%y%" type nul
You will lose the arguments you possibly passed.
@Ed
These characters can't be assigned to a variable inside of a batch code because they are not supported. Youre example also doesn't work for me.
Regards
aGerman