Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含许多文件的现有项目,最近被告知我需要在每个源文件上添加页脚。有没有人有这样做的建议?我目前正在使用 JAutoDoc 添加标题。这工作得很好,但我不知道如何让 JAutoDoc 在底部添加评论。谢谢!
您可以使用批处理文件来管理它。
批处理脚本:
For /R <Source_Folder_Path> %%G IN (*.java) do Echo "Copyright line to be appended" >> "%%G"