cmd批处理
大量ping ip
- ip.txt
獲取系統(tǒng)的位數(shù)
@echo off if %PROCESSOR_ARCHITECTURE%==x86 goto x86 if %PROCESSOR_ARCHITECTURE%==AMD64 goto x64:x86 echo 您的操作系統(tǒng)是32bit start http://www.baidu.com :x64 echo 您的操作系統(tǒng)是64bit start http://www.baidu.com@echo off if exist %windir%\SysWOW64 (echo 您的系統(tǒng)是64位的) else (echo 您的系統(tǒng)是32位的) pause > nul清理系統(tǒng)垃圾文件
@echo off echo 正在清理系統(tǒng)垃圾文件,請(qǐng)稍等...... 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%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /q %userprofile%\cookies\*.* del /f /q %userprofile%\recent\*.* del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" del /f /s /q "%userprofile%\recent\*.*" echo 清理系統(tǒng)垃圾完成!總結(jié)
- 上一篇: 电脑装win10一直重启不了怎么办 电脑
- 下一篇: 优盘插在win8上没反应怎么办 win8