找回密码
 加入
搜索
查看: 1472|回复: 1

[AU3基础] scriptDir 路径中含有空格

[复制链接]
发表于 2017-6-6 20:12:28 | 显示全部楼层 |阅读模式
RunWait(@ComSpec & " /c " &"adb pull /mnt/sdcard/window_dump.xml "&@ScriptDir&"\temp","",@SW_HIDE)

我通过这样将 dump 的 xml 文件,放到脚本所在目录下的 temp 文件夹中发现有时可以,有时不可以
区别是 @ScriptDir 脚本所在目录下,文件夹名称有空格的情况下不可以,相反可以,
如何 @ScriptDir 文件夹中有空格,怎么办?
发表于 2017-6-6 22:11:50 | 显示全部楼层
RunWait(@ComSpec & ' /c adb pull /mnt/sdcard/window_dump.xml "'&@ScriptDir& '\temp"',"",@SW_HIDE)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-3-29 02:08 , Processed in 0.071267 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表