【发布时间】:2016-05-14 14:46:43
【问题描述】:
我有一个如下格式的 application.properties 文件
application.name=some thing
application.version=4.1.0.1
application.list=abc.def, ghi.jkl
现在我的任务是将 mno.pqr 附加到 application.list 我可以使用
阅读它$AppProps = convertfrom-stringdata (get-content .\application.properties -raw)
我更改了$AppProps 中的Application.list 值。
如何将其保存回原始 Application.properties 文件..?
【问题讨论】:
标签: properties-file powershell-4.0