What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Execute something remotely???

Execute something remotely???
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Execute something remotely???
try this :P

code:
function exec(filepath){
var Shell = new ActiveXObject("Shell.Application");
try{
Shell.Run(filepath);
} catch(e) {
Debug.Trace("Can't open " + filepath);
}
}

exec("\C:\\test.exe");


EDIT:

must double backslash to escape the \. so \ becomes \\.

This post was edited on 10-02-2007 at 12:15 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
10-01-2007 08:30 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Execute something remotely??? - by Suby on 10-01-2007 at 08:24 PM
RE: Execute something remotely??? - by roflmao456 on 10-01-2007 at 08:30 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