What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Execute an .exe from the .plsc file

Execute an .exe from the .plsc file
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Execute an .exe from the .plsc file
That is probably because of the spaces in the string for the path. Instead try this:
code:
function ExecuteFile(Name)
{
    new ActiveXObject("WScript.Shell").Run("\""+MsgPlus.ScriptFilesPath + "\\" + Name + ".exe\"");
}

This post was edited on 11-05-2007 at 03:46 PM by markee.
[Image: markee.png]
11-05-2007 11:48 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Execute an .exe from the .plsc file - by hadesz on 11-04-2007 at 05:46 PM
RE: Execute an .exe from the .plsc file - by vikke on 11-04-2007 at 05:55 PM
RE: Execute an .exe from the .plsc file - by hadesz on 11-04-2007 at 06:20 PM
RE: Execute an .exe from the .plsc file - by matty on 11-04-2007 at 06:31 PM
RE: Execute an .exe from the .plsc file - by vikke on 11-04-2007 at 06:33 PM
RE: RE: Execute an .exe from the .plsc file - by hadesz on 11-05-2007 at 11:46 AM
RE: Execute an .exe from the .plsc file - by hadesz on 11-04-2007 at 06:49 PM
RE: Execute an .exe from the .plsc file - by ShawnZ on 11-04-2007 at 11:06 PM
RE: Execute an .exe from the .plsc file - by hadesz on 11-05-2007 at 08:42 AM
RE: Execute an .exe from the .plsc file - by ShawnZ on 11-05-2007 at 08:58 AM
RE: Execute an .exe from the .plsc file - by hadesz on 11-05-2007 at 09:43 AM
RE: Execute an .exe from the .plsc file - by markee on 11-05-2007 at 10:31 AM
RE: Execute an .exe from the .plsc file - by markee on 11-05-2007 at 11:48 AM
RE: RE: Execute an .exe from the .plsc file - by vikke on 11-05-2007 at 03:07 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On