Search found 14 matches

by enjoyabhi@gmail.com
Sun Jan 22, 2012 3:09 am
Forum: VBScript
Topic: Performing File operation on a file(Remote server
Replies: 5
Views: 3436

Performing File operation on a file(Remote server

I was getting lot of errors So I wrote a script that could modify textfile locally and then I am running it by "Runas" command.
by enjoyabhi@gmail.com
Thu Jan 05, 2012 12:52 pm
Forum: Other Scripting Languages
Topic: How to use Vbscript in HTA.
Replies: 0
Views: 5536

How to use Vbscript in HTA.

How can I use the below script in HTA . "wscript.sleep" is not allowed in HTA so what should I use instead of wscript.sleep ? This script calls a exe file by making use of Runas command . If I am running this script directly it is working fine only in HTA it is not working . set WshShell = WScript.C...
by enjoyabhi@gmail.com
Sun Dec 04, 2011 3:21 pm
Forum: VBScript
Topic: Performing File operation on a file(Remote server
Replies: 5
Views: 3436

Performing File operation on a file(Remote server

I want to edit a file on remote servers . Iam using CIM_DATAFILES of WMI for it . I want to run the script with different ID . Below is the code I have written till now. START CODE strUser = "abhishek"strPassword = "abcd" Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")Set objWMIServi...
by enjoyabhi@gmail.com
Mon May 09, 2011 5:35 pm
Forum: VBScript
Topic: vbscript to check SSl cert work in IIS6 nt in iis7
Replies: 7
Views: 6763

vbscript to check SSl cert work in IIS6 nt in iis7

0Below is the script I was using to get the SSL certificate details IN IIS6 but this script is not working for iis7.What changes I have to make In order to make it working for IIS7? strComputer = "localhost" SET objService = GetObject( "IIS://" & strComputer & "/W3SVC") EnumServersites objService S...
by enjoyabhi@gmail.com
Mon May 09, 2011 5:35 pm
Forum: VBScript
Topic: vbscript to check SSl cert work in IIS6 nt in iis7
Replies: 7
Views: 6763

vbscript to check SSl cert work in IIS6 nt in iis7

0Below is the script I was using to get the SSL certificate details IN IIS6 but this script is not working for iis7.What changes I have to make In order to make it working for IIS7? strComputer = "localhost" SET objService = GetObject( "IIS://" & strComputer & "/W3SVC") EnumServersites objService S...
by enjoyabhi@gmail.com
Mon Mar 21, 2011 3:21 am
Forum: VBScript
Topic: VBscript to check if https website is up or not.
Replies: 1
Views: 2312

VBscript to check if https website is up or not.

I have a https website on which i have to login(username and password) and check if all tabs are working . I know how to check if a website is http bt don't know how to go on for a secure website . I heard of a " curl command " but did not get that . Pls share ur ideas if u knw anythng in this regard.
by enjoyabhi@gmail.com
Sun Nov 21, 2010 12:02 pm
Forum: VBScript
Topic: How to read information from a config file.
Replies: 0
Views: 1443

How to read information from a config file.

Below is a script to get information of ssl certificate. In this the line in bold "if daysleftin < 200 " and "if daysleftin < 300 " . Now I want to read "200" and "300" from a config file. pls help me dim strComputer strComputer = "localhost" SET objService = GetObject( "IIS://" & strComputer & "/W3...
by enjoyabhi@gmail.com
Tue Oct 19, 2010 2:40 am
Forum: Other Scripting Languages
Topic: convert a text file into a html page .
Replies: 0
Views: 2504

convert a text file into a html page .

Can anyone help me toc onvert a text file into a htmlpage using vbscript.
by enjoyabhi@gmail.com
Mon Oct 18, 2010 2:51 am
Forum: VBScript
Topic: copy the content of text files from list of server
Replies: 7
Views: 2361

copy the content of text files from list of server

hey thanks buddy .Got it.Batch command is better than anything else .Is there any way by which even batch can read the server name from a text file.
by enjoyabhi@gmail.com
Sat Oct 16, 2010 3:43 pm
Forum: VBScript
Topic: copy the content of text files from list of server
Replies: 7
Views: 2361

copy the content of text files from list of server

I have around 40 servers . so,I have to do so.Is there any other way. I have no idea about batch.