<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript</id>
  <title type="text">microsoft.public.scripting.vbscript Google Group</title>
  <subtitle type="text">
  Microsoft scripting newsgroup.
  </subtitle>
  <link href="/group/microsoft.public.scripting.vbscript/feed/atom_v1_0_topics.xml" rel="self" title="microsoft.public.scripting.vbscript feed"/>
  <updated>-0-0T::Z</updated>
  <generator uri="http://groups.google.com.gh" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Jason</name>
  <email>nos...@spam.com</email>
  </author>
  <updated>2010-03-17T21:01:41Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/1d2af466a0c4d067</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/1d2af466a0c4d067" />
  <title type="html">Find a unused drive letter</title>
  <summary type="html" xml:space="preserve">
  Hello &lt;br&gt; I&#39;ve got a to use the subst cmd on a PC, and when the script is run I won&#39;t &lt;br&gt; know what drives are mapped at that time, so I&#39;d like to be able to find a &lt;br&gt; letter that isn&#39;t mapped, then I&#39;ll just use that in the subst cmd. &lt;br&gt; My question, is how do i find a drive letter that isn&#39;t mapped?
  </summary>
  </entry>
  <entry>
  <author>
  <name>khstng50</name>
  <email>gu...@unknown-email.com</email>
  </author>
  <updated>2010-03-17T20:10:10Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/0113e2cb9a47a548</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/0113e2cb9a47a548" />
  <title type="html">vbscript start excel run macro not working</title>
  <summary type="html" xml:space="preserve">
  I am trying to run a vbscript that opens excel then executes a macro. I &lt;br&gt; have code that works but I get an error saying &amp;quot;The macro &amp;quot;sort&amp;quot; can not &lt;br&gt; be found. I found that if you open excel by the script it does not load &lt;br&gt; any of the macros. I did some searching and found that by opening excel &lt;br&gt; via automation does not load all addins and startup files to load
  </summary>
  </entry>
  <entry>
  <author>
  <name>wuzzle</name>
  <email>wuzz...@gmail.com</email>
  </author>
  <updated>2010-03-17T16:58:03Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/7a160729efbbc74d</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/7a160729efbbc74d" />
  <title type="html">Installing a printer using WSH</title>
  <summary type="html" xml:space="preserve">
  Hello, I am using a script to install printers but I get a strange &lt;br&gt; error message &lt;br&gt; Set WshNetwork = WScript.CreateObject(&amp;quot;WScript. Network&amp;quot;) &lt;br&gt; PrinterPath = &amp;quot;\\server1\sharedName_hp1&amp;quot; &lt;br&gt; WshNetwork.AddWindowsPrinterCo nnection PrinterPath &lt;br&gt; WshNetwork.SetDefaultPrinter PrinterPath &lt;br&gt; When the user logs on for the the first time the receive an error
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sofia</name>
  <email></email>
  </author>
  <updated>2010-03-17T13:04:19Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/5c0a37038068aa94</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/5c0a37038068aa94" />
  <title type="html">Running exchange powershell command from vbscript</title>
  <summary type="html" xml:space="preserve">
  Hi! :) &lt;br&gt; I need to run one powershell command from vbscript. I have no problem &lt;br&gt; running a command like Get-Command but what I need to run is an Exchange &lt;br&gt; command (Set-Mailbox). How can I do this? &lt;br&gt; I tried: &lt;br&gt; Dim objShell : Set objShell = CreateObject(&amp;quot;Wscript.Shell&amp;quot;) &lt;br&gt; objShell.Run(&amp;quot;C:\Windows\Syste m32\WindowsPowerShell\v1.0\pow ershell.exe -noexit
  </summary>
  </entry>
  <entry>
  <author>
  <name>Highlander</name>
  <email>tron9...@msn.com</email>
  </author>
  <updated>2010-03-16T18:39:40Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/7a02f8117e702766</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/7a02f8117e702766" />
  <title type="html">Group membership query fails because of special character</title>
  <summary type="html" xml:space="preserve">
  Hello All. &lt;br&gt; Consider the following script: &lt;br&gt; (watch for word wrap) &lt;br&gt; strComputer = &amp;quot;atl-ws-01&amp;quot; &lt;br&gt; strGroup = &amp;quot;Administrators&amp;quot; &lt;br&gt; Set objGroup = GetObject(&amp;quot;WinNT://&amp;quot; &amp;amp; strComputer &amp;amp; &amp;quot;/&amp;quot; &amp;amp; strGroup &amp;amp; &lt;br&gt; &amp;quot;,group&amp;quot;) &lt;br&gt; For Each objUser in objGroup.Members &lt;br&gt; Wscript.Echo objUser.Name &lt;br&gt; Next &lt;br&gt; This script works fine; except if there&#39;s a dollar sign ($) in the
  </summary>
  </entry>
  <entry>
  <author>
  <name>kamyers1</name>
  <email>kamye...@discussions.microsoft.com</email>
  </author>
  <updated>2010-03-15T20:14:04Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/b0d74a6afd3322d2</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/b0d74a6afd3322d2" />
  <title type="html">Type Mismatch Error After Converting vbs to wsf</title>
  <summary type="html" xml:space="preserve">
  Have a fairly simple vbscript application that was originally coded in a &lt;br&gt; single .vbs file. Includes one function (MJLogTypeIdFromAbbr) that I wanted &lt;br&gt; to move to a common &amp;quot;library&amp;quot; so that I could make it available for use in &lt;br&gt; other vbscript apps. &lt;br&gt; So, I split that function out into a separate .vbs file, and created a wsf
  </summary>
  </entry>
  <entry>
  <author>
  <name>JayCee</name>
  <email>trackmyg...@gmail.com</email>
  </author>
  <updated>2010-03-15T17:29:10Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/1fafe2424885f358</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/1fafe2424885f358" />
  <title type="html">force reading csv fields as text</title>
  <summary type="html" xml:space="preserve">
  I&#39;m trying to put together a vbscript that will read a .csv file using &lt;br&gt; the ADODB tools. However I&#39;m running into an issue with IP addresses &lt;br&gt; in this .csv. It looks like it is treating them as decimal numbers. &lt;br&gt; So my question is, is there a sane way to force the reading of .csv &lt;br&gt; fields (that are not surrounded by quotes) as string values, if you
  </summary>
  </entry>
  <entry>
  <author>
  <email></email>
  </author>
  <updated>2010-03-15T17:02:27Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/9ac8d6b4dbd8bb93</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/9ac8d6b4dbd8bb93" />
  <title type="html">WSHShell.SendKeys &quot;{F5}&quot; - doesn&#39;t work</title>
  <summary type="html" xml:space="preserve">
  I&#39;ve been trying with every sample script I can find on the Net, but the &lt;br&gt; double clicking the VBS just flashes the hourglass and then nothing. All &lt;br&gt; these scripts can&#39;t be wrong. It just simply doesn&#39;t refresh the desktop. &lt;br&gt; I&#39;m doing the Outlook desktop icon thing and if this doesn&#39;t work i&#39;m going
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mac Morino</name>
  <email>macmor...@gmail.com</email>
  </author>
  <updated>2010-03-14T06:58:59Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/616b1f8a57bc78bc</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/616b1f8a57bc78bc" />
  <title type="html">instructor&#39;s solutions manual for Continuum Electromechanics by James R. Melcher</title>
  <summary type="html" xml:space="preserve">
  I have solutions manuals for the scientific textbooks .. They are all &lt;br&gt; in PDF format .. If you are interested in any one, simply send me an &lt;br&gt; email to macmorino(at)gmail(dot)com .. Please this service is NOT &lt;br&gt; free. &lt;br&gt; Here are solutions manuals to some titles.. &lt;br&gt; Instructor&#39;s solutions manual for A Course in Modern Mathematical
  </summary>
  </entry>
  <entry>
  <author>
  <name>ABC Webmaster</name>
  <email>dar...@darrenash.co.uk</email>
  </author>
  <updated>2010-03-11T15:01:00Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/e82da2e4eb2a625d</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/e82da2e4eb2a625d" />
  <title type="html">Query printers in 2008 domain using vbscript or WMI</title>
  <summary type="html" xml:space="preserve">
  I have the following code which I use to query published printers in &lt;br&gt; AD on our domain (2003). We have now setup a 2 way trust with another &lt;br&gt; domain (2008) which I can browse to with no problems. The problem &lt;br&gt; occurs when I try and run this script with the remote domain in the &lt;br&gt; LDAP query returns &amp;quot;Provider: A referral was returned from the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Script Hack... why read manuals</name>
  <email>scripthack...whyreadmanu...@discussions.microsoft.com</email>
  </author>
  <updated>2010-03-10T23:09:01Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/347a3c92ced5b650</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/347a3c92ced5b650" />
  <title type="html">Copying to a relative cell range</title>
  <summary type="html" xml:space="preserve">
  To all VBscript Gurus, &lt;br&gt; I am attempting to copy a string variable to a relative cell range. I have &lt;br&gt; been playing around with the Range command, but this only works for absolute &lt;br&gt; ranges. Here is layman&#39;s logic that I want to convert to VBScript: &lt;br&gt; dim string = &amp;quot;this variable&amp;quot; &lt;br&gt; dim B = 10 &lt;br&gt; copy string to cells (A1:A(1+B))
  </summary>
  </entry>
  <entry>
  <author>
  <name>Leon</name>
  <email>kim.zeth...@gmail.com</email>
  </author>
  <updated>2010-03-10T16:58:25Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/200a0d6b7e0c4853</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/200a0d6b7e0c4853" />
  <title type="html">How to speed this up?</title>
  <summary type="html" xml:space="preserve">
  Hi &lt;br&gt; I&#39;m searching through severel servers on in severel folders. &lt;br&gt; Want newest file LastModified time stamps. &lt;br&gt; In the folders are files wiht differents filename patterns in (same &lt;br&gt; folder) &lt;br&gt; so I&#39;m having path in one array and pattern in another array &lt;br&gt; In some folders there are more than 800 files. &lt;br&gt; This is very slow over network -up to 5 minutes.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dan</name>
  <email>d...@discussions.microsoft.com</email>
  </author>
  <updated>2010-03-09T22:29:02Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/8ace5b872978eacc</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/8ace5b872978eacc" />
  <title type="html">Have group members in wrong format</title>
  <summary type="html" xml:space="preserve">
  Hey all, &lt;br&gt; I have used arrMemberOf = objGroup.GetEx(&amp;quot;member&amp;quot;) to obtain the members &lt;br&gt; of a group but they come in as the &amp;quot;cn=....&amp;quot; and I need to just obtain the &lt;br&gt; user name. How can I translate to that? I&#39;m trying to do something like the &lt;br&gt; follwoing after the fact but get an error: &lt;br&gt; For Each strMember In arrMemberOf
  </summary>
  </entry>
  <entry>
  <author>
  <name>mcolson</name>
  <email>mcolson1...@gmail.com</email>
  </author>
  <updated>2010-03-09T16:20:42Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/832fa39516b61b78</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/832fa39516b61b78" />
  <title type="html">SQL Query in VBScript</title>
  <summary type="html" xml:space="preserve">
  I am using the following code to perform a SQL query and return a &lt;br&gt; recordset I am getting the error &amp;quot;Arguments are of the wrong type, &lt;br&gt; are out of acceptable range, or are in conflict with one another&amp;quot; &lt;br&gt; This error occurs when I open the record set. What am I doing wrong? &lt;br&gt; Const adOpenStatic = 3 &lt;br&gt; Const adLockOptimistic = 3
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jake</name>
  <email>jak...@gmail.com</email>
  </author>
  <updated>2010-03-09T07:37:35Z</updated>
  <id>http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/6a1b98814cf88136</id>
  <link href="http://groups.google.com.gh/group/microsoft.public.scripting.vbscript/browse_thread/thread/6a1b98814cf88136" />
  <title type="html">Loop to find files, copy and renaming...</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I have a folder called E:\MyFolder which contains an arbitrary number of &lt;br&gt; subfolders like Sub1, Sub2 Sub3 etc. &lt;br&gt; In each of these folders there might be a file called MyFile.DAT. &lt;br&gt; I need a script that loops through all levels of subfolders under &lt;br&gt; E:\MyFolder and copies every occurrence of MyFile.DAT to E:\Target. In
  </summary>
  </entry>
</feed>
