bat脚本

1.强制删除

DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1

 

 

2.批量删除vc及vs临时文件

@echo off
echo ----------------------------------------------------
echo By MoreWindows (http://blog.csdn.net/MoreWindows)
echo Press any key to delete all files with ending:
echo *.aps *.idb *.ncp *.obj *.pch *.tmp *.sbr
echo *.tmp *.pdb *.bsc *.ilk *.res *.ncb *.opt
echo *.suo *.manifest *.dep moc_*.cpp *.ipch
echo *.lastbuildstate *.user ui_*.h BuildLog.htm
echo There are Visual C++ and Visual Studio junk
echo ----------------------------------------------------
pause
del /F /S /Q *.aps *.idb *.ncp *.obj *.pch *.sbr *.tmp *.pdb *.bsc *.ilk *.res *.ncb *.opt *.suo *.manifest *.dep moc_*.cpp *.ipch *.lastbuildstate *.user *.filters ui_*.h BuildLog.htm
pause

 

 

3.打包qt

set install_path=%~dp0
cd /d %install_path%
windeployqt.exe --plugindir plugins . .

posted on 2019-12-31 14:48  码农er  阅读(149)  评论(0编辑  收藏  举报