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.
我想在作为连接文件源的属性中创建一个新行。我想在新行中添加每条新记录。我试过\n and \r了,但它们似乎没有用。或者是否有其他方法可以为输出文件中的每条记录添加新行。
\n and \r
当您使用 Connect-File 方法并引用属性时,您可以添加 "\r\n" 包括引号以添加换行符。这在输出是 csv 文件时有效。
或者,根据文件扩展名,您可能想要探索不同的来源,例如 HTML,并从那里创建文件的结构。