且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何添加到使用.bat而不是追加到结尾的文本文件的开头?

更新时间:2022-02-05 08:08:34

以下将根据您的需要进行

Following will work as you want

    echo this will come at the begining of file >>log.txt
    type log1.txt >> log.txt
    del log1.txt
    ren log.txt log1.txt