Reading filename from a file
Thu, 3 Jul 2008 00:04:10 -0700 (PDT)
I have a file "tmp.txt" in a format like
word0, c:\1.txt
word2, c:\2.txt
word4, c:\Copy of tmp1.txt
I need to delete all the files listed in 2nd column.
I tried this script.
Const ForReading = 1
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile("c:\tmp ...
|
Querying all AD Computer Accounts and the lastLogon attribute
Wed, 2 Jul 2008 13:17:22 -0700
I have a VBS script and would like to query all AD Computer accounts and the
lastLogon attribute.
My search criteria is this.
objCommand.CommandText=("<LDAP://DC=flhlaw,DC=local>;(&(|(objectCategory=person)(objectCategory=computer))(objectClass=user));distinguishedName,name,lastLogon,givenName,sAMAccountName, ...
|
Getting the name of Access Points
Fri, 27 Jun 2008 15:00:01 -0700
Does anyone know of a method to get the name of the wireless Access point
that a card is currently connected to? Checked google, wmi code creator,
scriptomatic and could not find anything that would give me a starting place.
Is this even possible?
Thanks! ...
|
Using wininet over http to get a get.cgi file
Fri, 13 Jun 2008 02:36:21 -0700 (PDT)
Hello, I want to access a projector over the network with a vb script
so I can read the lamp hours and status. Can someone help me with some
examples with wininet? I made a search (google as well as Microsoft)
but I can not get it in a vbscript. ...
|
Siteminder integration problems with a portal
Wed, 11 Jun 2008 16:52:01 -0700
I am trying to integrate Siteminder with a web portal. I get the User ID from
SiteMinder which I send to webservice hosted on the same web server to
retrieve a authentication token for logging onto the portal.
I am using the MSXML2.XMLHttpRequest class to complete this job. The example
code is a s follows and ...
|
deleting files older than * days
Wed, 11 Jun 2008 09:40:01 -0700
Can a script be created to delete files older than "x" amount of days, not
just past a particular date but calculate the age of a file and delete them
once they reach, perhaps, 31 days? If so, any guidance would be appreciated. ...
|
vbs script question
Tue, 10 Jun 2008 15:40:51 -0700 (PDT)
I am using a VBS script to connect to an FTP tool using cuteftp.
The script hangs when trying to connect. Does anyone know why this
would happen. This is happening to three clients out of 500. I would
presume they are using windows scheduler to run this. It doesn't
happen all the time.
'Set the User Id an ...
|
|
|
Script for Mailbox enable
Tue, 10 Jun 2008 04:42:00 -0700
Hi
We have Exchange 2003 and Windows 2003 Domain controller.
We have morethan 100 users without mailbox enabled. now we need to enable
those users mailbox alone.
please help
Sridhar ...
|
vb.net winform all vbscript access
Tue, 3 Jun 2008 04:55:00 -0700
How can i get my vb.net winforms project to allow vbscript to interact with
it. I want to allow external vbscript files to be able to write to a text
box and execute a function .
Any ideas?
Thanks ...
|
Writing VBA Script
Tue, 20 May 2008 06:26:02 -0700
I am trying to write a script to help me determine the Mean Time Between
Repair for equipment. I played with it all day yesterday but was not able to
figure it out. Right now I have to enter the string manually. The formula I
am using is "=AVERAGE(C7-C6,C6-C5,C5-C4,C4-C3,C3-C2)" where C7 would be the
late ...
|