标签:find err 命令 inf 文件 txt form object info
@echo on @echo 正在清理垃圾文件,请稍候...... del *.psd/s del *.manifest *.exp *.ilk *.pdb *.txt *json *.lib del TestHttpDll.exe cd Bin/dll del *.exp *.ilk *.pdb *.lib @echo 清理完毕!!! pause
这个方案暂时不行
@echo off echo 获取Administrator权限 cacls.exe "%SystemDrive%\System Volume Information" >nul 2>nul if %errorlevel%==0 goto Admin if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs" echo Set RequestUAC = CreateObject^("Shell.Application"^)>"%temp%\getadmin.vbs" echo RequestUAC.ShellExecute "%~s0","","","runas",1 >>"%temp%\getadmin.vbs" echo WScript.Quit >>"%temp%\getadmin.vbs" "%temp%\getadmin.vbs" /f if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs" exit :Admin echo 成功取得Administrator权限 @echo 正在清理垃圾文件,请稍候...... for /r "." %%a in (*.bmp *.xui *.json) do ( find "副" %%a if "!errorlevel!"=="0" ( echo %%a del %%a ) ) @echo 清理完毕!!! pause
标签:find err 命令 inf 文件 txt form object info
原文地址:https://www.cnblogs.com/leochan007/p/9739873.html