标签: batch-file cmd batch-processing
我有一个.properties文件格式为
#### #These are the comments #### this is the content
我想删除除此文件注释之外的所有内容。
答案 0 :(得分:3)
findstr /b "#" "properties.properties" >new.properties
试试这个。