File: testcmd.bat

package info (click to toggle)
dos2unix 7.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,972 kB
  • sloc: ansic: 4,109; makefile: 665; perl: 503; sh: 13
file content (14 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 -D unicode -i uni_el_αρχείο.txt uni_zh_文件.txt

REM set code page back to original value
chcp 850