Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: wher can I write the script to be run

HTVi
TV Discussion Newsgroups

wher can I write the script to be run
dedo 5/8/2007 10:23:01 PM
I hane a script
wher can I write it to be run or activated?
Re: wher can I write the script to be run
"CreateWindow" <createwindow[ at ]gmail.com> 5/9/2007 12:19:27 AM
Dear dedo,

You can write it in Notepad. Give your script the extension .vbs
It then executes when you double click it in the Windows shell Explorer.
(This calls wscript.exe to run it).
You can set up a scheduled task to run it when nobody is logged on. Make
sure you don't have any MsgBox commands or other stuff that will "pop up" in
the scheduled task as this will hang the script as you can't see the OK
button on the MsgBox if you are not logged on! (Or the task is running with
different credentials to the regular logged in credentials. Typically this
is the case in server monitoring etc.)

In a command prompt you can run the script with wscript or cscript. Usually
cscript is going to be better for background tasks and batch jobs. The
command looks like C:\>cscript myscript.vbs

You can use .js too (if you like JavaScript).

http://www.microsoft.com/technet/scriptcenter/default.mspx

CreateWindow
http://justpageprobe.com
The FREE Web page utility you always wanted.
Monitor your enterprise Web Servers.
Keep your router connected.
Email your IP to where you need it.



"dedo" <dedo[ at ]discussions.microsoft.com> wrote in message
news:80C0B1DE-0FE0-4491-B614-B4575173155D[ at ]microsoft.com...
[Quoted Text]
>I hane a script
> wher can I write it to be run or activated?


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen