[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
有个关于模拟控制台的
  1. @echo off&echo.&echo.&setlocal enabledelayedexpansion
  2. Set app="%~dpnx0"&set "con=2>nul"
  3. :top
  4. set /p input="%cd%>"
  5. if not defined input goto :top
  6. call :_%input:/?=% %con%||%input% %cons%
  7. set input=
  8. goto :top
  9. :_? 显示帮助
  10. help&echo.---------------ADD---------------
  11. for /f "tokens=1* delims=_" %%a in ('findstr /b ":_" %app%') do echo.%%b
  12. echo.&set errorlevel=0
  13. goto :eof
  14. :_oerr 内部错误信息开关
  15. if defined con  (set con=)  else set "con=2>nul"
  16. goto :eof
  17. :_terr 外部错误信息开关
  18. if definde cons (set cons=) else set "cons=2>nul"
  19. goto :eof
  20. :_err 所有错误信息开关
  21. if /i "%1" == on  set con=&set cons=
  22. if /i "%1" == off set "con=2>nul"&set "cons=2>nul"
  23. goto :eof
  24. :_MPP Test............
  25. goto :eof
  26. :_MENU 菜单
  27. Set str=1.百度 4.搜搜 7.雅虎~2.谷歌 5.搜狗 8.比比猫~3.狗狗 6.有道 9.微软LIVE
  28. for /f "tokens=1-3 delims=~" %%i in ("%str%") do echo %%i&echo %%j&echo %%k
复制代码

TOP

IE设置里选上以UTF8发送URL然后你直接汉字就行了

TOP

返回列表