是否有Windows命令来转换文件的行结尾?
我们test.bat需要运行以启动我们的服务器.我们使用Perforce,我们需要在工作区中使用unix行结尾.出于某种原因,我们不允许在工作区中将行结尾更改为Windows.但是,服务器在Windows上运行.
test.bat
每次我必须运行bat文件时,我在Notepad ++中打开它并选择编辑→EOL转换→Windows.有没有办法实现自动化,这样我们每次与Perforce同步时都不需要手动更改行结尾?
提前致谢.
unix windows cmd batch-file eol
batch-file ×1
cmd ×1
eol ×1
unix ×1
windows ×1