StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Final  
#1 Posted : Wednesday, August 7, 2019 6:56:30 PM(UTC)
Final

Rank: Newbie

Reputation:

Groups: Approved
Joined: 8/7/2019(UTC)
Posts: 3
China

Thanks: 3 times
这是正确的
打开文件夹没有问题
sp.RunProgram('D:\download', '', 'open', 'normal', true, false, false);
打开应用程序没有问题
sp.RunProgram('vmware', '', 'open', 'normal', true, false, false);

这个是有问题
应用程序安装在D盘
sp.RunProgram('dnplayer', '', 'open', 'normal', true, false, false);

报错提示系统找不到指定的文件

写上绝对路径也报错误
sp.RunProgram('D:\Changzhi\dnplayer2\dnplayer.exe', '', 'open', 'normal', true, false, false);

报错提示系统找不到指定的文件

求解决方法
我想使用手势工具打开应用程序
Rob  
#2 Posted : Wednesday, August 7, 2019 8:02:18 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 261
United States

Thanks: 5 times
Was thanked: 53 time(s) in 45 post(s)
Try

sp.RunProgram ('D:\\Changzhi\\dnplayer2\\dnplayer.exe', '', 'open', 'normal', true , false, false);
thanks 1 user thanked Rob for this useful post.
Final on 8/8/2019(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.