Do Batch files support multiline variables

前端 未结 9 2004
南旧
南旧 2020-12-25 12:54

If so How?

Yes, batch files are lame, but I cannot use powershell, and I don\'t feel like writing a real app to do this simple task....

edit

9条回答
  •  悲哀的现实
    2020-12-25 13:25

    I prefer this method

    @ECHO OFF
    SETLOCAL EnableDelayedExpansion
    
    REM (define NewLine character)
    (SET _NL=^
    %=this line is empty=%
    )
    

提交回复
热议问题