WINDOWS 10 BAT 路徑 變數 字串相加
資料來源: https://www.itread01.com/content/1550277009.html
https://www.gushiciku.cn/pl/gl2R/zh-tw
Code:
REM WINDWOS 10 BAT 路徑 變數 字串相加 REM cd C:\Program Files\WinRAR REM WinRAR.exe set Path=C:\Program Files\WinRAR\ echo %Path% set FileName=WinRAR.exe echo %FileName% set FilePath01=%Path%%FileName% echo %FilePath01% ::等待程式結束 "%FilePath01%" ::不等待程式結束 start "%Path%" %FileName% pause