标题: [文本处理] 请教乱码的批处理文件如何修复? [打印本页]
作者: johnlee 时间: 2017-1-9 21:10 标题: 请教乱码的批处理文件如何修复?
新人,请教如何修复?- @echo off
- :menu1
- Echo 1 - 尌 酄‘怆 ?nsb
- Echo 2 - 尌 酄‘怆 ?scb
- SET /P var="尌: "
- if %var% equ 1 goto menu_nsb
- if %var% equ 2 goto menu
- goto error1
- :error1
- echo 偄イキ?噜オ猸 绋岖?
- goto menu1
- :menu_nsb
- Echo 傠ˉ啜猊 玢:
- Echo 1 - 悹岑牚犫?nsb 岑璀氍 猊猱?
- Echo 2 - 悹岑牚犫?nsb 猊猱??徕惘牞?
- Echo 3 - 嚑癄忪 nsb ě 岑璀?猊鉅
- Echo 4 - 嚑癄忪 nsb ě 猊鉅 ?徕惘牞?
- set /p var="嚑鐮: "
- @if %var% equ 1 goto first
- @if %var% equ 2 goto second
- @if %var% equ 3 goto third
- @if %var% equ 4 goto four
- goto error
- :error
- Echo 崶 牏ǐ飙?幛カ牠 ㈦‘??
- goto menu_nsb
- :first
- CSRPacker.exe unpack -i nsb
- goto menu_nsb
- :second
- CSRPacker.exe unpack -p -i nsb
- goto menu_nsb
- :third
- CSRPacker.exe pack -i nsb.txt
- @echo off
- ren nsb "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
- md .\Buckup
- move "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
- @echo 戔犩氅 nsb 錉┇ 啷楗??癄?buckup
- ren nsb.txt.sav nsb
- @echo 庘啷ㄠ牠?nsb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
- pause&exit
- :four
- CSRPacker.exe pack -m -i nsb.txt
- @echo off
- ren nsb "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
- md .\Buckup
- move "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
- @echo 戔犩氅 nsb 錉┇ 啷楗??癄?buckup
- ren nsb.txt.sav nsb
- @echo 庘啷ㄠ牠?nsb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
- pause&exit
- :menu
- Echo 傠ˉ啜猊 玢:
- Echo 1 - 悹岑牚犫?scb 岑璀氍 猊猱?
- Echo 2 - 悹岑牚犫?scb 猊猱??徕惘牞?
- Echo 3 - 嚑癄忪 scb ě 岑璀?猊鉅
- Echo 4 - 嚑癄忪 scb ě 猊鉅 ?徕惘牞?
- set /p var="嚑鐮: "
- @if %var% equ 1 goto ō
- @if %var% equ 2 goto あ?
- @if %var% equ 3 goto 忄?
- @if %var% equ 4 goto 绁怆啷
- goto error2
- :error2
- Echo 崶 牏ǐ飙?幛カ牠 ㈦‘??
- goto menu
- :ō
- CSRPacker.exe unpack -i scb
- goto menu
- :あ?
- CSRPacker.exe unpack -p -i scb
- goto menu
- :忄?
- CSRPacker.exe pack -i scb.txt
- @echo off
- ren scb "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
- md .\Buckup
- move "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
- @echo 戔犩氅 scb 錉┇ 啷楗??癄?buckup
- ren scb.txt.sav scb
- @echo 庘啷ㄠ牠?scb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
- pause&exit
- :绁怆啷
- CSRPacker.exe pack -m -i scb.txt
- ren scb "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
- md .\Buckup
- move "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
- @echo 戔犩氅 scb 錉┇ 啷楗??癄?buckup
- ren scb.txt.sav scb
- @echo 庘啷ㄠ牠?scb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
- pause&exit
复制代码
作者: smss 时间: 2020-6-14 13:15
上传原件 复制粘贴没用的
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |