Skip to content

Commit

Permalink
Fix problems with encoding in batch files
Browse files Browse the repository at this point in the history
Use UTF-8 (chcp 65001)
  • Loading branch information
GChuf committed Nov 27, 2021
1 parent 7d135eb commit 39812ab
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RCWM/files/DirectoryJuntion.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\dl.log (
goto start
) ELSE (
Expand Down
3 changes: 3 additions & 0 deletions RCWM/files/HardLink.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\fl.log (
goto start
) ELSE (
Expand Down
3 changes: 3 additions & 0 deletions RCWM/files/MvDir.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\mv.log (
goto start
) ELSE (
Expand Down
3 changes: 3 additions & 0 deletions RCWM/files/RCopy.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\rc.log (
goto start
) ELSE (
Expand Down
3 changes: 3 additions & 0 deletions RCWM/files/SymbolicLink.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\dl.log (
goto start
) ELSE (
Expand Down
3 changes: 3 additions & 0 deletions RCWM/files/SymbolicLinkFile.bat
@@ -1,5 +1,8 @@
@echo off

rem utf-8: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
chcp 65001 >NUL

IF EXIST C:\Windows\System32\RCWM\fl.log (
goto start
) ELSE (
Expand Down

0 comments on commit 39812ab

Please sign in to comment.