What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request]File Runner

[Request]File Runner
Author: Message:
Pengo
Junior Member
**


Posts: 18
Joined: Feb 2006
O.P. [Request]File Runner
Hi could someone make me a script that will run 2 files located in  C:\WINDOWS\system32\drivers\etc, Called "Allow.bat" and "Deny.bat" I pay for my internet and i have told my brothers(apart from one)that they cant use it but they still use it to check there emails so i have made bat files to delete hosts and copy another hosts file that blocks hotmail.com and login.live.  Could it use "!" triggers. Thank you very much, but if this cant be made thanks for taking the time to read this (Y)
01-11-2007 12:31 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Request]File Runner
How about in a chat you just write "/run C:\WINDOWS\system32\drivers\etc" without the quotes, or you could make a quick text to do this for you for both of the files.
[Image: markee.png]
01-11-2007 12:40 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [Request]File Runner
This is possible by just using quick texts using Plus!'s /run command, just add a quicktext like so:

[Image: attachment.php?pid=777086]

EDIT: damn markee :P

.png File Attachment: QuickText_Example.png (15.19 KB)
This file has been downloaded 300 time(s).

This post was edited on 01-11-2007 at 12:43 PM by Eljay.
01-11-2007 12:43 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request]File Runner
code:
Shell = new ActiveXObject("WScript.Shell");
Shell.Run("C:\\WINDOWS\\system32\\drivers\\etc\\Allow.bat");
01-11-2007 12:43 PM
Profile E-Mail PM Web Find Quote Report
Pengo
Junior Member
**


Posts: 18
Joined: Feb 2006
O.P. RE: [Request]File Runner
quote:
Originally posted by Felu


Dont get how that works, what happens when i want to add the hosts file with the blocked ips?
01-11-2007 01:04 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request]File Runner
quote:
Originally posted by Pengo
quote:
Originally posted by Felu


Dont get how that works, what happens when i want to add the hosts file with the blocked ips?
code:
function Block(){
    Shell = new ActiveXObject("WScript.Shell");
  Shell.Run("C:\\WINDOWS\\system32\\drivers\\etc\\Block.bat");
}
function Allow(){
    Shell = new ActiveXObject("WScript.Shell");
  Shell.Run("C:\\WINDOWS\\system32\\drivers\\etc\\Allow.bat");
}


Or you could even use quicktexts [Image: msn_wink.gif].
01-11-2007 01:51 PM
Profile E-Mail PM Web Find Quote Report
Pengo
Junior Member
**


Posts: 18
Joined: Feb 2006
O.P. RE: [Request]File Runner
i would rather a script just for it, so i dotn want to use quicktexts :). How i run the one u posted?
01-11-2007 02:36 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [Request]File Runner
/script Block and /script Allow

You could also create a nice command for it.
[Image: 1-0.png]
             
01-11-2007 04:20 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