【发布时间】:2019-04-26 10:16:20
【问题描述】:
我正在尝试启动此程序,但我不断收到错误消息。 我已经尝试在字符串周围加上块引号 [==[]==] 并在程序路径周围加上 "" 但它仍然不起作用。
local test = string.format([==["C:\Program Files (x86)\Audacity\audacity.exe" "F:\Aufnahme %s.%s.%s\ZOOM0001.WAV"]==], tag, monat, jahr)
print(test)
io.popen(test)
error when running the lua file
If I copy the command from the print(test) and use that in cmd.exe it works.
感谢您的帮助:)
【问题讨论】:
标签: windows command-line lua