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:
Suby
New Member
*


Posts: 1
Joined: Oct 2007
O.P. Execute something remotely???
Hello, I was wondering if its possible to run an exe from a script??

I want a script that I can remotely activate so that I can maybe give a password, then execute the script on the remote computer...

anyone?
10-01-2007 08:24 PM
Profile E-Mail PM Find Quote Report
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 »


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