cmd批处理
        【摘要】     大量ping ip 
ip.txt 
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
123456 
@echo off
for /f %%i in (ip.txt) do (ping %%i)
pause > nul
123 
获取系统的位数 
@echo off
i...
    
    
    
    大量ping ip
- ip.txt
 
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
  
 - 1
 - 2
 - 3
 - 4
 - 5
 - 6
 
@echo off
for /f %%i in (ip.txt) do (ping %%i)
pause > nul
  
 - 1
 - 2
 - 3
 
获取系统的位数
@echo off
if %PROCESSOR_ARCHITECTURE%==x86 goto x86
if %PROCESSOR_ARCHITECTURE%==AMD64 goto x64
:x86
echo 您的操作系统是32bit
start http://www.baidu.com
:x64
echo 您的操作系统是64bit
start http://www.baidu.com @echo off
if exist %windir%\SysWOW64 (echo 您的系统是64位的) else (echo 您的系统是32位的)
pause > nul
  
 - 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 7
 - 8
 - 9
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 
清理系统垃圾文件
@echo off 
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%\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 清理系统垃圾完成! 
  
 - 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 7
 - 8
 - 9
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 
文章来源: maoli.blog.csdn.net,作者:刘润森!,版权归原作者所有,如需转载,请联系作者。
原文链接:maoli.blog.csdn.net/article/details/101482512
        【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
            cloudbbs@huaweicloud.com
        
        
        
        
        
        
        - 点赞
 - 收藏
 - 关注作者
 
            
           
评论(0)