Making batch file to write batch file

后端 未结 1 1488
梦如初夏
梦如初夏 2021-01-25 18:37

My question is \'How to write batch file in batch file,that will create new batch file when ran?\'

Like this :

echo systeminfo >>info.txt >>SystemInfo.ba

相关标签:
1条回答
  • 2021-01-25 18:54

    you will have to escape special chars:

    echo systeminfo ^>^>info.txt >>SystemInfo.bat
    
    0 讨论(0)
提交回复
热议问题