0
這就是我需要的。使用DOS查找並替換批處理文件
比方說有TEMP.TXT 比方說TEMP.TXT有以下內容的文件:
[email protected]
[email protected]
[email protected]
我的批處理文件create.bat應該問三個參數作爲來自用戶的輸入, ,然後用相應的值替換temp.txt。
說。
Pls enter your name:Tom
Tom - Confirm Y/N: Y
<<now anywhere the temp.txt says @name, it is replace by Tom>>
請幫我寫一個腳本嗎?
謝謝, Naveen。