summaryrefslogtreecommitdiff
path: root/test/testcmd.bat
diff options
context:
space:
mode:
Diffstat (limited to 'test/testcmd.bat')
-rwxr-xr-xtest/testcmd.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/testcmd.bat b/test/testcmd.bat
new file mode 100755
index 0000000..9431352
--- /dev/null
+++ b/test/testcmd.bat
@@ -0,0 +1,14 @@
+@echo off
+REM This script demonstrates how to use Unicode file names
+REM in a batch script.
+REM This script is in UTF-8 encoding.
+REM This script must NOT have a BOM (Byte Order Mark). Notepad will
+REM add one when you save the file. Remove it with unix2dos -r test.bat
+REM This script will only run on Windows 7 and higher.
+
+REM switch to UTF-8 code page
+chcp 65001
+dos2unix -i uni_el_αρχείο.txt uni_zh_文件.txt
+
+REM set code page back to original value
+chcp 850