我正在使用powershell腳本,腳本正在調用.ps1中的.bat文件來運行nmake,這對我沒有意義,所以我希望將所有內容都移動到一個ps腳本中,添加編寫腳本會引發此錯誤The term 'NMAKE' is not recognized as the name of a cmdlet, function, script file...。無論如何,從PowerShell運行nmake?
首先,您可以參考這個偉大的帖子:Bash bind以更好地理解我想實現的目標。 我要實現的是,當我按下回車,然後更新殼動態提示,現在我已經是: __update_shell_prompt() {
# according what I had done in the terminal regenerate the new shell prompt
# new_shell_prom