html自动执行bat,html文件执行cmd指令
新建一個txt的文本文檔文件,把以下代碼復制進去:
@echo off
title 一鍵清除系統垃圾文件
color 0C
mode con: cols=75 lines=28
echo.
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\*.log
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /s /q %userprofile%\recent\*.*
del /f /s /q %userprofile%\Local Settings\Temporary Internet Files\*.*
rd /q /s C:\Program Files\pipi\pipicache&&md C:\Program Files\pipi\pipicache
del /f /s /q %userprofile%\Local Settings\Temp\*.*
exit
然后保存,把后綴的txt改成bat,運行即可
取消
評論
總結
以上是生活随笔為你收集整理的html自动执行bat,html文件执行cmd指令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 仿京东左侧菜单弹出html代码,相仿京东
- 下一篇: 安兔兔评测台式机电脑性能如何评价一台电脑