run()函数中如何用系统变量 ---【已解决】
本帖最后由 sxade 于 2014-8-12 11:08 编辑例如run("notepad.exe @desktop dir&"\test.txt"") 改如何写好呢, 没太明白你的要求,是不是想这样:run("notepad.exe test.txt",@DesktopDir)用 记事本打开桌面上的 test.txt run("notepad.exe" & @DesktopDir & "\test.txt")
注意连接符中间的空格 ShellExecute(@desktopdir & "\test.txt") 回复 3# rorn_li
不错 ,正解,都是高手啊。 回复 4# austere
很好,谢谢!
页:
[1]