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 : Thursday, August 8, 2019 12:56:30 AM(UTC)
Final

Rank: Newbie

Reputation:

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

Thanks: 4 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 : Thursday, August 8, 2019 2:02:18 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Try

sp.RunProgram ('D:\\Changzhi\\dnplayer2\\dnplayer.exe', '', 'open', 'normal', true , false, false);
thanks 2 users thanked Rob for this useful post.
Final on 8/8/2019(UTC), thankRob on 4/11/2021(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.