What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » ShellExecute program with parameters

ShellExecute program with parameters
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: ShellExecute program with parameters
You must escape the backslashes.

code:
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute('C:\\app.exe param1 param2');

EDIT: MyBB won't display it properly? fixed..

This post was edited on 02-11-2007 at 05:49 PM by deAd.
02-11-2007 05:47 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
ShellExecute program with parameters - by tommy87xxx on 02-11-2007 at 05:33 PM
RE: ShellExecute program with parameters - by deAd on 02-11-2007 at 05:47 PM
RE: ShellExecute program with parameters - by vikke on 02-11-2007 at 05:49 PM
RE: RE: ShellExecute program with parameters - by deAd on 02-11-2007 at 06:02 PM
RE: ShellExecute program with parameters - by tommy87xxx on 02-11-2007 at 05:59 PM
RE: ShellExecute program with parameters - by vikke on 02-11-2007 at 06:14 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