倍福TwinCAT2 PLC开发环境(基于codesys平台) 生成的临时或编译文件(除pro以外的文件)
.bat批处理,一键删除临时文件
::@echo off
::delete temp folder
::example: @for /d /r %%c in (new folder,debug) do @if exist %%c ( rd /s /q "%%c" & echo delete %%c)
::delete temp files
@for /r %%c in (*.DFR,*.BAK,*.err,*.SDB,*.SYM,*.tpy,*.ci,*.ri,*.bak,*.tpa,*.cfg) do del "%%c"
::pause
.gitignore 忽略上传文件
## Ignore Beckhoff TwinCAT 2 temporary files, build results, and
## files generated by popular TwinCAT 2 add-ons.
##
## Get latest from wangjiahui1230@qq.com or refer to file named 'delete.bat'
# TSM-auto generated backup files
*.bak
# PRO-Build results
*.DFR
*.BAK
*.err
*.SDB
*.SYM
*.ci
*.ri
*.tpa
*.tpy