Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
scripts
hosting
jscript
remote
scripting.wsh
scriptlets
vbscript
virus.discussion
  
 
group : microsoft.public.scripting.vbscript      view archive
page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>



Query printers in 2008 domain using vbscript or WMI     Thu, 11 Mar 2010 07:01:00 -0800 (PST)
I have the following code which I use to query published printers in AD on our domain (2003). We have now setup a 2 way trust with another domain (2008) which I can browse to with no problems. The problem occurs when I try and run this script with the remote domain in the LDAP query returns "Provider: A referral ...

Copying to a relative cell range     Wed, 10 Mar 2010 15:09:01 -0800
To all VBscript Gurus, I am attempting to copy a string variable to a relative cell range. I have been playing around with the Range command, but this only works for absolute ranges. Here is layman's logic that I want to convert to VBScript: dim string = "this variable" dim B = 10 copy string to cells ...

How to speed this up?     Wed, 10 Mar 2010 08:58:25 -0800 (PST)
Hi I'm searching through severel servers on in severel folders. Want newest file LastModified time stamps. In the folders are files wiht differents filename patterns in (same folder) so I'm having path in one array and pattern in another array In some folders there are more than 800 files. This is very ...

Have group members in wrong format     Tue, 9 Mar 2010 14:29:02 -0800
Hey all, I have used arrMemberOf = objGroup.GetEx("member") to obtain the members of a group but they come in as the "cn=...." and I need to just obtain the user name. How can I translate to that? I'm trying to do something like the follwoing after the fact but get an error: For Each strMember In arrMe ...

SQL Query in VBScript     Tue, 9 Mar 2010 08:20:42 -0800 (PST)
I am using the following code to perform a SQL query and return a recordset I am getting the error "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" This error occurs when I open the record set. What am I doing wrong? Const adOpenStatic = 3 Const adLockOptim ...

Loop to find files, copy and renaming...     Tue, 09 Mar 2010 08:37:35 +0100
Hi, I have a folder called E:\MyFolder which contains an arbitrary number of subfolders like Sub1, Sub2 Sub3 etc. In each of these folders there might be a file called MyFile.DAT. I need a script that loops through all levels of subfolders under E:\MyFolder and copies every occurrence of MyFile.DAT to E ...

How to tell if a contact object exists?     Mon, 8 Mar 2010 14:10:01 -0800
I am trying to determine the best way to write a snippet that determines if an Active Directory contact already exists. My current script looks at users and creates contact objects for them. The trouble I have is obviously running the script a second time bombs me out with "object already exists". What I' ...

Can a vbscript identify the program/process that called a vbscript     Mon, 8 Mar 2010 12:02:01 -0800
I would like to code a vbscript ("ActionScript.vbs") in such a way that it would do X, if ActionScript.vbs were called by "TriggerScriptA.vbs", but do something else if ActionScript.vbs were called by "TriggerScriptAB.vbs". Is there some way by which ActionScript.vbs could identify the program/process tha ...

Script to report folder sizes?     Mon, 8 Mar 2010 10:00:02 -0800
I have a Users directory on a drive, where all my users have a subfolder with their user name. inside everyone's folder is a certain folder, lets call it TooBig, that i need to know the size for for each user. does anyone have a script that would maybe dump the size of each user's TooBig folder to a file I ...

A short one: Data dictionary item = array     Mon, 8 Mar 2010 01:43:45 -0800 (PST)
Hi Is it possible to have an item as an array? Cheers ...


page nr.: page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>
Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us