What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » experimenting with Wscipt.shell

experimenting with Wscipt.shell
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: experimenting with Wscipt.shell
quote:
Originally posted by matty
quote:
Originally posted by scripto
ActiveXOBject
Correct me if I am wrong but I am sure this is case sensitive...

Javascript code:
new ActiveXObject('WScript.Shell').exec('C:\\Windows\\system32\shutdown.exe -s -t 60');



IIRC it is. Also, you don't need the path as matty has shown, but it may help.

@matty: You forgot to double slash before "shutdown" and the "s" in "Shell" <in the op> wasn't in the correct case either.

This post was edited on 03-30-2010 at 05:01 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
03-30-2010 05:00 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
experimenting with Wscipt.shell - by scripto on 03-30-2010 at 11:35 AM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 01:11 PM
RE: experimenting with Wscipt.shell - by Spunky on 03-30-2010 at 05:00 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 05:05 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 05:57 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 06:28 PM
RE: experimenting with Wscipt.shell - by djdannyp on 03-30-2010 at 06:36 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 07:05 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 07:10 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 07:46 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 03-31-2010 at 11:13 AM
RE: experimenting with Wscipt.shell - by scripto on 03-31-2010 at 07:52 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-01-2010 at 02:37 AM
RE: experimenting with Wscipt.shell - by scripto on 04-01-2010 at 05:57 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 10:39 AM
RE: experimenting with Wscipt.shell - by scripto on 04-02-2010 at 12:13 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 01:44 PM
RE: experimenting with Wscipt.shell - by scripto on 04-02-2010 at 02:52 PM
RE: experimenting with Wscipt.shell - by SmokingCookie on 04-02-2010 at 06:42 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 11:04 PM
RE: experimenting with Wscipt.shell - by scripto on 04-03-2010 at 12:04 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