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

有重大谬误,请停止使用!
版本1.0.0004[有大量冗余,请指正]
  1. @echo off
  2. endlocal
  3. setlocal enabledelayedexpansion
  4. chcp 936 > nul
  5. Rem By Hope2021
  6. title Hope计时器
  7. mode con cols=68 lines=5
  8. cls
  9. echo.
  10. echo.
  11. echo.                                HOPE
  12. color 0f
  13. call :Vbs_Sleep 1000
  14. call :Sleep_Installs
  15. @goto :Restart
  16. :Restart
  17. title Hope计时器
  18. cls
  19. set H=0
  20. set Min=0
  21. set S=0
  22. set H_2=0
  23. set Min_2=0
  24. set S_2=0
  25. set Ms=0
  26. set Ms_2=0
  27. @goto :Main
  28. :Main
  29. title Hope计时器
  30. set Error=0
  31. cls
  32. echo.
  33. echo.    ^>^>当前计时时间:%H%小时%Min%分钟%S%秒
  34. echo.
  35. echo.  Q/W 小时加/减   E/R 分钟加/减   T/Y 秒加/减   U/I 开始计时//退出
  36. call :get_key
  37. if %Ms_2% Leq 200000000 if %H% geq 0 if %Min% Geq 0 if %S% Geq 0 (
  38. if /i "!key!"=="q" (
  39. set /a Ms_2+=3600000
  40. set /a H+=1
  41. )
  42. if /i "!key!"=="w" (
  43. set /a Ms_2-=3600000
  44. set /a H-=1
  45. )
  46. if /i "!key!"=="e" (
  47. set /a Ms_2+=60000
  48. set /a Min+=1
  49. )
  50. if /i "!key!"=="r" (
  51. set /a Ms_2-=60000
  52. set /a Min-=1
  53. )
  54. if /i "!key!"=="t" (
  55. set /a Ms_2+=1000
  56. set /a S+=1
  57. )
  58. if /i "!key!"=="y" (
  59. set /a Ms_2-=1000
  60. set /a S-=1
  61. )
  62. if /i "!key!"=="i" (
  63. exit
  64. )
  65. )
  66. if %S% Lss 0 (
  67. if %Min% Geq 0 if %H% Gtr 0 (
  68. set /a Min-=1&set /a S+=60
  69. )
  70. if %Min% Gtr 0 if %H% Geq 0 (
  71. set /a Min-=1&set /a S+=60
  72. )
  73. if %Min% Gtr 0 if %H% Gtr 0 (
  74. set /a Min-=1&set /a S+=60
  75. )
  76. if %Min% Leq 0 if %H% Leq 0 (
  77. echo.
  78. echo.    ^>^> 算数错误!
  79. call :Vbs_Sleep 100
  80. @goto :Restart
  81. )
  82. )
  83. if %Min% Lss 0 (
  84. if %H% Gtr 0 set /a H-=1&set /a Min+=60
  85. if %H% Leq 0 (
  86. echo.
  87. echo.    ^>^> 算数错误!
  88. call :Vbs_Sleep 100
  89. @goto :Restart
  90. )
  91. )
  92. if %H% Lss 0 (
  93. echo.
  94. echo.    ^>^> 算数错误!
  95. call :Vbs_Sleep 100
  96. @goto :Restart
  97. )
  98. if %Ms_2% Gtr 200000000 (
  99. echo.
  100. echo.    ^>^> 算数错误!
  101. call :Vbs_Sleep 100
  102. @goto :Restart
  103. )
  104. if %S% Geq 60 set /a Min+=1&set S=0
  105. if %Min% Geq 60 set /a H+=1&set Min=0
  106. if /i "!key!"=="u" (
  107. @goto :Start
  108. )
  109. if /i "!valid_key!" equ "0" goto :Main
  110. :Error
  111. color 1f
  112. cls
  113. echo.
  114. echo.    ^>^> Sleep.exe 和 Sleep.com 不知到何处去了...
  115. echo.
  116. echo.    ^>^> 正在帮您恢复
  117. call :Sleep_Installs
  118. goto :Restart
  119. :Start
  120. set Error=0
  121. cls
  122. title 计时器[%H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒]
  123. echo.
  124. echo.    ^>^> %H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒
  125. echo.
  126. echo.    ^>^> Ctrl+C暂停或退出...
  127. call :Sleep 100
  128. if %Error%==1 goto :Error
  129. set /a Ms+=100
  130. if %Ms%==1000 set /a S_2+=1&set Ms=0
  131. if %S_2% Geq 60 set /a Min_2+=1&set S_2=0
  132. if %Min_2% Geq 60 set /a H_2+=1&set Min_2=0
  133. if %H_2% Geq %H% if %Min_2% Geq %Min% if %S_2% Geq %S% goto :End
  134. if /i "!valid_key!" equ "0" goto :Start
  135. :End
  136. cls
  137. color 4e
  138. title 计时器[%H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒]
  139. Call :Msg "时间到" vbExclamation "Hope计时器"
  140. color 0f
  141. @goto :Restart
  142. :Vbs_Sleep
  143. echo.Wscript.Sleep %1 > Sleep.vbs
  144. call Sleep.vbs > nul
  145. if exist ReturnKey.vbs del ReturnKey.vbs
  146. @goto :eof
  147. :Sleep_Installs
  148. mode con cols=68 lines=5
  149. color 0f
  150. (
  151. echo.-----BEGIN CERTIFICATE-----
  152. echo.TVpQAQEAAAAEAAAA//8AAFABAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  153. echo.AAAAAAAAAAAAAAAAkAAAAPy+gQAPtkz/ZjHSZjHASXggrCwwchQ8CXcQZmvSCmYB
  154. echo.wi7HBi8AMQDr5C7/Ji8ADgBmadLoAwAAZonRZsHpELSGzRW4AEzNIQAAAAAAAAAA
  155. echo.UEUAAEwBAQBQeaU2AAAAAAAAAADgAA8BCwEFDAACAAAAAAAAAAAAAH4QAAAAEAAA
  156. echo.ACAAAAAAQAAAEAAAAAIAAAQAAAAAAAAABAAAAAAAAAAAIAAAAAIAAAAAAAADAAAA
  157. echo.AAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAAAQEAAAKAAAAAAAAAAAAAAA
  158. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  159. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAA
  160. echo.AAAAAAAAAAAudGV4dAAAANwAAAAAEAAAAAIAAAACAAAAAAAAAAAAAAAAAAAgAADg
  161. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  162. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWEAAAZBAAAHYQAAAAAAAA
  163. echo.RhAAAAAAAAAAAAAAOBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEtFUk5FTDMy
  164. echo.LmRsbAAAVhAAAGQQAAB2EAAAAAAAAAAARXhpdFByb2Nlc3MAAABHZXRDb21tYW5k
  165. echo.TGluZUEAAABTbGVlcAD/FQQQQAAx0khAgDgAdBGAOCJ1AvfSCdJ174A4IHXqQPyJ
  166. echo.xjHSMcCsCMB0IywwchU8CXcRa9IKAcLHBckQQADNEEAA6+L/JckQQAClEEAAUv8V
  167. echo.CBBAAGoA/xUAEEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  168. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  169. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  170. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  171. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  172. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  173. echo.AAAAAAAAAAAAAAAAAAAAAA==
  174. echo.-----END CERTIFICATE-----
  175. ) > Sleep.com
  176. Certutil -Decode Sleep.com Sleep.exe > nul
  177. Certutil -Decode -f Sleep.com Sleep.com > nul
  178. goto :eof
  179. :Sleep
  180. set Error=0
  181. if exist Sleep.exe (
  182. Sleep.exe %1
  183. goto :eof
  184. )
  185. if not exist Sleep.exe if exist Sleep.com (
  186. Sleep.com %1
  187. goto :eof
  188. )
  189. if not exist Sleep.exe if not exist Sleep.com (
  190. set Error=1
  191. goto :eof
  192. )
  193. :get_key
  194. rem 用法:call :get_key
  195. set "key="
  196.   for /f "delims=" %%a in ('xcopy /w "%~f0" "%~f0" 2^>nul') do if not defined key set "key=%%a"
  197.   set "key=%key:~-1%"
  198.   set "valid_key=0"
  199. goto :eof
  200. :Msg
  201. Rem 用法: Call :Msg "Text" [buttons] "Title"
  202. echo.Msg=msgbox("%~1",%2,"%~3") > ReturnKey.vbs
  203. Call ReturnKey.vbs > nul
  204. if exist ReturnKey.vbs del ReturnKey.vbs
  205. goto :eof
复制代码

TOP

版本1.0.0003
  1. @echo off
  2. endlocal
  3. setlocal enabledelayedexpansion
  4. chcp 936 > nul
  5. Rem By Hope2021
  6. title Hope计时器
  7. mode con cols=68 lines=5
  8. cls
  9. echo.
  10. echo.
  11. echo.                                HOPE
  12. color 0f
  13. call :Vbs_Sleep 1000
  14. call :Sleep_Installs
  15. @goto :Restart
  16. :Restart
  17. title Hope计时器
  18. cls
  19. set H=0
  20. set Min=0
  21. set S=0
  22. set H_2=0
  23. set Min_2=0
  24. set S_2=0
  25. set Ms=0
  26. set Ms_2=0
  27. @goto :Main
  28. :Main
  29. title Hope计时器
  30. set Error=0
  31. cls
  32. echo.
  33. echo.    ^>^>当前计时时间:%H%小时%Min%分钟%S%秒
  34. echo.
  35. echo.  Q/W 小时加/减   E/R 分钟加/减   T/Y 秒加/减   U/I 开始计时//退出
  36. call :get_key
  37. if %Ms_2% Leq 200000000 if %H% geq 0 if %Min% Geq 0 if %S% Geq 0 (
  38. if /i "!key!"=="q" (
  39. set /a Ms_2+=3600000
  40. set /a H+=1
  41. )
  42. if /i "!key!"=="w" (
  43. set /a Ms_2-=3600000
  44. set /a H-=1
  45. )
  46. if /i "!key!"=="e" (
  47. set /a Ms_2+=60000
  48. set /a Min+=1
  49. )
  50. if /i "!key!"=="r" (
  51. set /a Ms_2-=60000
  52. set /a Min-=1
  53. )
  54. if /i "!key!"=="t" (
  55. set /a Ms_2+=1000
  56. set /a S+=1
  57. )
  58. if /i "!key!"=="y" (
  59. set /a Ms_2-=1000
  60. set /a S-=1
  61. )
  62. if /i "!key!"=="i" (
  63. exit
  64. )
  65. if /i "!key!"=="u" (
  66. @goto :Start
  67. )
  68. )
  69. if %S% Geq 60 set /a Min+=1&set S=0
  70. if %Min% Geq 60 set /a H+=1&set Min=0
  71. for %%i in (%H% %Min% %S%) do (
  72. if %%i Lss 0 (
  73. echo.
  74. echo.    ^>^> 算数错误!
  75. call :Vbs_Sleep 100
  76. @goto :Restart
  77. )
  78. )
  79. if %Ms_2% Gtr 200000000 (
  80. echo.
  81. echo.    ^>^> 算数错误!
  82. call :Vbs_Sleep 100
  83. @goto :Restart
  84. )
  85. if /i "!valid_key!" equ "0" goto :Main
  86. :Error
  87. color 1f
  88. cls
  89. echo.
  90. echo.    ^>^> Sleep.exe 和 Sleep.com 不知到何处去了...
  91. echo.
  92. echo.    ^>^> 正在帮您恢复
  93. call :Sleep_Installs
  94. goto :Restart
  95. :Start
  96. set Error=0
  97. cls
  98. title 计时器[%H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒]
  99. echo.
  100. echo.    ^>^> %H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒
  101. echo.
  102. echo.    ^>^> Ctrl+C暂停或退出...
  103. call :Sleep 100
  104. if %Error%==1 goto :Error
  105. set /a Ms+=100
  106. if %Ms%==1000 set /a S_2+=1&set Ms=0
  107. if %S_2% Geq 60 set /a Min_2+=1&set S_2=0
  108. if %Min_2% Geq 60 set /a H_2+=1&set Min_2=0
  109. if %H_2% Geq %H% if %Min_2% Geq %Min% if %S_2% Geq %S% goto :End
  110. if /i "!valid_key!" equ "0" goto :Start
  111. :End
  112. cls
  113. color 4e
  114. title 计时器[%H_2%小时%Min_2%分钟%S_2%秒/%H%小时%Min%分钟%S%秒]
  115. Call :Msg "时间到" vbExclamation "Hope计时器"
  116. color 0f
  117. @goto :Restart
  118. :Vbs_Sleep
  119. echo.Wscript.Sleep %1 > Sleep.vbs
  120. call Sleep.vbs > nul
  121. if exist ReturnKey.vbs del ReturnKey.vbs
  122. @goto :eof
  123. :Sleep_Installs
  124. mode con cols=68 lines=5
  125. color 0f
  126. (
  127. echo.-----BEGIN CERTIFICATE-----
  128. echo.TVpQAQEAAAAEAAAA//8AAFABAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  129. echo.AAAAAAAAAAAAAAAAkAAAAPy+gQAPtkz/ZjHSZjHASXggrCwwchQ8CXcQZmvSCmYB
  130. echo.wi7HBi8AMQDr5C7/Ji8ADgBmadLoAwAAZonRZsHpELSGzRW4AEzNIQAAAAAAAAAA
  131. echo.UEUAAEwBAQBQeaU2AAAAAAAAAADgAA8BCwEFDAACAAAAAAAAAAAAAH4QAAAAEAAA
  132. echo.ACAAAAAAQAAAEAAAAAIAAAQAAAAAAAAABAAAAAAAAAAAIAAAAAIAAAAAAAADAAAA
  133. echo.AAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAAAQEAAAKAAAAAAAAAAAAAAA
  134. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  135. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAA
  136. echo.AAAAAAAAAAAudGV4dAAAANwAAAAAEAAAAAIAAAACAAAAAAAAAAAAAAAAAAAgAADg
  137. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  138. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWEAAAZBAAAHYQAAAAAAAA
  139. echo.RhAAAAAAAAAAAAAAOBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEtFUk5FTDMy
  140. echo.LmRsbAAAVhAAAGQQAAB2EAAAAAAAAAAARXhpdFByb2Nlc3MAAABHZXRDb21tYW5k
  141. echo.TGluZUEAAABTbGVlcAD/FQQQQAAx0khAgDgAdBGAOCJ1AvfSCdJ174A4IHXqQPyJ
  142. echo.xjHSMcCsCMB0IywwchU8CXcRa9IKAcLHBckQQADNEEAA6+L/JckQQAClEEAAUv8V
  143. echo.CBBAAGoA/xUAEEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  144. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  145. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  146. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  147. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  148. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  149. echo.AAAAAAAAAAAAAAAAAAAAAA==
  150. echo.-----END CERTIFICATE-----
  151. ) > Sleep.com
  152. Certutil -Decode Sleep.com Sleep.exe > nul
  153. Certutil -Decode -f Sleep.com Sleep.com > nul
  154. goto :eof
  155. :Sleep
  156. set Error=0
  157. if exist Sleep.exe (
  158. Sleep.exe %1
  159. goto :eof
  160. )
  161. if not exist Sleep.exe if exist Sleep.com (
  162. Sleep.com %1
  163. goto :eof
  164. )
  165. if not exist Sleep.exe if not exist Sleep.com (
  166. set Error=1
  167. goto :eof
  168. )
  169. :get_key
  170. rem 用法:call :get_key
  171. set "key="
  172.   for /f "delims=" %%a in ('xcopy /w "%~f0" "%~f0" 2^>nul') do if not defined key set "key=%%a"
  173.   set "key=%key:~-1%"
  174.   set "valid_key=0"
  175. goto :eof
  176. :Msg
  177. Rem 用法: Call :Msg "Text" [buttons] "Title"
  178. echo.Msg=msgbox("%~1",%2,"%~3") > ReturnKey.vbs
  179. Call ReturnKey.vbs > nul
  180. if exist ReturnKey.vbs del ReturnKey.vbs
  181. goto :eof
复制代码

TOP

本帖最后由 HOPE2021 于 2021-8-12 08:43 编辑

版本1.0.0002
  1. @echo off
  2. endlocal
  3. setlocal enabledelayedexpansion
  4. chcp 936 > nul
  5. Rem By Hope2021
  6. title Hope计时器
  7. mode con cols=68 lines=5
  8. cls
  9. echo.
  10. echo.
  11. echo.                                HOPE
  12. color 0f
  13. call :Vbs_Sleep 1000
  14. call :Sleep_Installs
  15. @goto :Restart
  16. :Restart
  17. title Hope计时器
  18. cls
  19. set H=0
  20. set Min=0
  21. set S=0
  22. set Ms=0
  23. set Ms_2=0
  24. @goto :Main
  25. :Main
  26. title Hope计时器
  27. set Error=0
  28. cls
  29. echo.
  30. echo.    ^>^>当前计时时间:%H%小时%Min%分钟%S%秒
  31. echo.
  32. echo.  Q/W 小时加/减   E/R 分钟加/减   T/Y 秒加/减   U/I 开始计时//退出
  33. call :get_key
  34. if %Ms_2% Leq 200000000 if %H% geq 0 if %Min% Geq 0 if %S% Geq 0 (
  35. if /i "!key!"=="q" (
  36. set /a Ms_2+=3600000
  37. set /a H+=1
  38. )
  39. if /i "!key!"=="w" (
  40. set /a Ms_2-=3600000
  41. set /a H-=1
  42. )
  43. if /i "!key!"=="e" (
  44. set /a Ms_2+=60000
  45. set /a Min+=1
  46. )
  47. if /i "!key!"=="r" (
  48. set /a Ms_2-=60000
  49. set /a Min-=1
  50. )
  51. if /i "!key!"=="t" (
  52. set /a Ms_2+=1000
  53. set /a S+=1
  54. )
  55. if /i "!key!"=="y" (
  56. set /a Ms_2-=1000
  57. set /a S-=1
  58. )
  59. if /i "!key!"=="i" (
  60. exit
  61. )
  62. if /i "!key!"=="u" (
  63. @goto :Start
  64. )
  65. )
  66. if %S% Geq 60 set /a Min+=1&set S=0
  67. if %Min% Geq 60 set /a H+=1&set Min=0
  68. for %%i in (%H% %Min% %S%) do (
  69. if %%i Lss 0 (
  70. echo.
  71. echo.    ^>^> 算数错误!
  72. set H=0
  73. set Min=0
  74. set S=0
  75. set Ms=0
  76. set Ms_2=0
  77. call :Vbs_Sleep 100
  78. )
  79. )
  80. if %Ms_2% Gtr 200000000 (
  81. echo.
  82. echo.    ^>^> 算数错误!
  83. set H=0
  84. set Min=0
  85. set S=0
  86. set Ms=0
  87. set Ms_2=0
  88. call :Vbs_Sleep 100
  89. )
  90. if /i "!valid_key!" equ "0" goto :Main
  91. :Error
  92. color 1f
  93. cls
  94. echo.
  95. echo.    ^>^> Sleep.exe 和 Sleep.com 不知到何处去了...
  96. echo.
  97. echo.    ^>^> 正在帮您恢复
  98. call :Sleep_Installs
  99. goto :Restart
  100. :Start
  101. set Error=0
  102. cls
  103. if %ms%==10 set /a ms=0
  104. title 计时器[%Ms%/%Ms_2%毫秒]
  105. echo.
  106. echo.    ^>^> %Ms%/%Ms_2%毫秒
  107. echo.
  108. echo.    ^>^> Ctrl+C暂停或退出...
  109. call :Sleep 100
  110. if %Error%==1 goto :Error
  111. set /a Ms+=100
  112. title 计时器[%Ms%/%Ms_2%毫秒]
  113. if %Ms% lss %Ms_2% goto Start
  114. if %Ms% Geq %Ms_2% goto End
  115. :End
  116. cls
  117. color 4e
  118. title Hope计时器 [%Ms%/%Ms_2%毫秒]
  119. Call :Msg "时间到" vbExclamation "Hope计时器"
  120. color 0f
  121. @goto :Restart
  122. :Vbs_Sleep
  123. echo.Wscript.Sleep %1 > Sleep.vbs
  124. call Sleep.vbs > nul
  125. if exist ReturnKey.vbs del ReturnKey.vbs
  126. @goto :eof
  127. :Sleep_Installs
  128. mode con cols=68 lines=5
  129. color 0f
  130. (
  131. echo.-----BEGIN CERTIFICATE-----
  132. echo.TVpQAQEAAAAEAAAA//8AAFABAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  133. echo.AAAAAAAAAAAAAAAAkAAAAPy+gQAPtkz/ZjHSZjHASXggrCwwchQ8CXcQZmvSCmYB
  134. echo.wi7HBi8AMQDr5C7/Ji8ADgBmadLoAwAAZonRZsHpELSGzRW4AEzNIQAAAAAAAAAA
  135. echo.UEUAAEwBAQBQeaU2AAAAAAAAAADgAA8BCwEFDAACAAAAAAAAAAAAAH4QAAAAEAAA
  136. echo.ACAAAAAAQAAAEAAAAAIAAAQAAAAAAAAABAAAAAAAAAAAIAAAAAIAAAAAAAADAAAA
  137. echo.AAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAAAQEAAAKAAAAAAAAAAAAAAA
  138. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  139. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAA
  140. echo.AAAAAAAAAAAudGV4dAAAANwAAAAAEAAAAAIAAAACAAAAAAAAAAAAAAAAAAAgAADg
  141. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  142. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWEAAAZBAAAHYQAAAAAAAA
  143. echo.RhAAAAAAAAAAAAAAOBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEtFUk5FTDMy
  144. echo.LmRsbAAAVhAAAGQQAAB2EAAAAAAAAAAARXhpdFByb2Nlc3MAAABHZXRDb21tYW5k
  145. echo.TGluZUEAAABTbGVlcAD/FQQQQAAx0khAgDgAdBGAOCJ1AvfSCdJ174A4IHXqQPyJ
  146. echo.xjHSMcCsCMB0IywwchU8CXcRa9IKAcLHBckQQADNEEAA6+L/JckQQAClEEAAUv8V
  147. echo.CBBAAGoA/xUAEEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  148. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  149. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  150. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  151. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  152. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  153. echo.AAAAAAAAAAAAAAAAAAAAAA==
  154. echo.-----END CERTIFICATE-----
  155. ) > Sleep.com
  156. Certutil -Decode Sleep.com Sleep.exe > nul
  157. Certutil -Decode -f Sleep.com Sleep.com > nul
  158. goto :eof
  159. :Sleep
  160. set Error=0
  161. if exist Sleep.exe (
  162. Sleep.exe %1
  163. goto :eof
  164. )
  165. if not exist Sleep.exe if exist Sleep.com (
  166. Sleep.com %1
  167. goto :eof
  168. )
  169. if not exist Sleep.exe if not exist Sleep.com (
  170. set Error=1
  171. goto :eof
  172. )
  173. :get_key
  174. rem 用法:call :get_key
  175. set "key="
  176.   for /f "delims=" %%a in ('xcopy /w "%~f0" "%~f0" 2^>nul') do if not defined key set "key=%%a"
  177.   set "key=%key:~-1%"
  178.   set "valid_key=0"
  179. goto :eof
  180. :Msg
  181. Rem 用法: Call :Msg "Text" [buttons] "Title"
  182. echo.Msg=msgbox("%~1",%2,"%~3") > ReturnKey.vbs
  183. Call ReturnKey.vbs > nul
  184. if exist ReturnKey.vbs del ReturnKey.vbs
  185. goto :eof
复制代码

TOP

返回列表