[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[文本处理] 请教乱码的批处理文件如何修复?

新人,请教如何修复?
  1. @echo off
  2. :menu1
  3. Echo 1 - 尌 酄‘怆 ?nsb
  4. Echo 2 - 尌 酄‘怆 ?scb
  5. SET /P var="尌: "
  6. if  %var% equ 1 goto menu_nsb
  7. if  %var% equ 2 goto menu
  8. goto error1
  9. :error1
  10. echo 偄イキ?噜オ猸 绋岖?
  11. goto menu1
  12. :menu_nsb
  13. Echo 傠ˉ啜猊 玢:
  14. Echo 1 - 悹岑牚犫?nsb 岑璀氍 猊猱?
  15. Echo 2 - 悹岑牚犫?nsb 猊猱??徕惘牞?
  16. Echo 3 - 嚑癄忪 nsb ě 岑璀?猊鉅
  17. Echo 4 - 嚑癄忪 nsb ě 猊鉅 ?徕惘牞?
  18. set /p var="嚑鐮: "
  19. @if %var% equ 1 goto first
  20. @if %var% equ 2 goto second
  21. @if %var% equ 3 goto third
  22. @if %var% equ 4 goto four
  23. goto error
  24. :error
  25. Echo 崶 牏ǐ飙?幛カ牠 ㈦‘??
  26. goto menu_nsb
  27. :first
  28. CSRPacker.exe unpack -i nsb
  29. goto menu_nsb
  30. :second
  31. CSRPacker.exe unpack -p -i nsb
  32. goto menu_nsb
  33. :third
  34. CSRPacker.exe pack -i nsb.txt
  35. @echo off
  36. ren nsb "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
  37. md .\Buckup
  38. move "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
  39. @echo 戔犩氅 nsb 錉┇ 啷楗??癄?buckup
  40. ren nsb.txt.sav nsb
  41. @echo  庘啷ㄠ牠?nsb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
  42. pause&exit
  43. :four
  44. CSRPacker.exe pack -m -i nsb.txt
  45. @echo off
  46. ren nsb "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
  47. md .\Buckup
  48. move "nsb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
  49. @echo 戔犩氅 nsb 錉┇ 啷楗??癄?buckup
  50. ren nsb.txt.sav nsb
  51. @echo  庘啷ㄠ牠?nsb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
  52. pause&exit
  53. :menu
  54. Echo 傠ˉ啜猊 玢:
  55. Echo 1 - 悹岑牚犫?scb 岑璀氍 猊猱?
  56. Echo 2 - 悹岑牚犫?scb 猊猱??徕惘牞?
  57. Echo 3 - 嚑癄忪 scb ě 岑璀?猊鉅
  58. Echo 4 - 嚑癄忪 scb ě 猊鉅 ?徕惘牞?
  59. set /p var="嚑鐮: "
  60. @if %var% equ 1 goto ō
  61. @if %var% equ 2 goto あ?
  62. @if %var% equ 3 goto 忄?
  63. @if %var% equ 4 goto 绁怆啷
  64. goto error2
  65. :error2
  66. Echo 崶 牏ǐ飙?幛カ牠 ㈦‘??
  67. goto menu
  68. :ō
  69. CSRPacker.exe unpack -i scb
  70. goto menu
  71. :あ?
  72. CSRPacker.exe unpack -p -i scb
  73. goto menu
  74. :忄?
  75. CSRPacker.exe pack -i scb.txt
  76. @echo off
  77. ren scb "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
  78. md .\Buckup
  79. move "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
  80. @echo 戔犩氅 scb 錉┇ 啷楗??癄?buckup
  81. ren scb.txt.sav scb
  82. @echo 庘啷ㄠ牠?scb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
  83. pause&exit
  84. :绁怆啷
  85. CSRPacker.exe pack -m -i scb.txt
  86. ren scb "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)"
  87. md .\Buckup
  88. move "scb %Date:~0,2%.%Date:~3,2%.%Date:~6,4% (%TIME:~0,2%.%TIME:~0,2%.%TIME:~6,2%)" ./Buckup
  89. @echo 戔犩氅 scb 錉┇ 啷楗??癄?buckup
  90. ren scb.txt.sav scb
  91. @echo 庘啷ㄠ牠?scb 啷ìキ牠 ?.猱??喈??癄 ?岙遴牠キē?
  92. pause&exit
复制代码

上传原件 复制粘贴没用的

TOP

返回列表