Split Method
Sat, 20 Mar 2010 08:22:11 -0700 (PDT)
Hi there
I'm trying to figure out what the following syntax for split means in
the following line of the code
arrTest[0].split('/')[0]
what does ('/')[0] means in split('/')[0]?
please can anyone explain ...
|
Input default language = Script to change this ?
Sat, 20 Mar 2010 08:20:50 +0100
Hello,
I am using since years, a QWERTY keyboard (I am based in the US). I have,
for work, to get connected by TSE mode, on many servers, including French's.
However, on my connection, my keyboard QUERTY is not recognized on the
French servers, and the 'Input default language is "Français" keyboard. I
mus ...
|
Create a folder structure path
Thu, 18 Mar 2010 08:09:16 -0500
Hello
Is there a easy way to create the folder path c:\folder1\folder2\folder3 ?
...
|
Diff in running VBScripts-WMI routuines from WinTaskSch & SQL Agen
Wed, 17 Mar 2010 23:44:01 -0700
Is there a difference in running VBScripts-WMI routuines from
WinTaskScheduler & SQLAgent. Because what is running all fine with cscript &
WinTaskScheduler suffers with unlrelated errors when tried with a SQL JOB.
Any insights.
--
-yusuf ...
|
How to convert to unicode in ADSI - "mail" attribute?
Wed, 17 Mar 2010 20:58:01 -0700
Hi all,
I made a vbs to add an extra e-maill address to a distribution list group.
The e-mail address should be <group name>@dnv.com.
As we are a Norwegian company, the group name sometimes contains Norwegian
character such as "Ã?".
When I look into ADSI, the string with "Ã?" do updates in "mail" attrib ...
|
Find a unused drive letter
Wed, 17 Mar 2010 16:01:41 -0500
Hello
I've got a to use the subst cmd on a PC, and when the script is run I won't
know what drives are mapped at that time, so I'd like to be able to find a
letter that isn't mapped, then I'll just use that in the subst cmd.
My question, is how do i find a drive letter that isn't mapped?
...
|
vbscript start excel run macro not working
Wed, 17 Mar 2010 15:10:10 -0500
I am trying to run a vbscript that opens excel then executes a macro. I
have code that works but I get an error saying "The macro "sort" can not
be found. I found that if you open excel by the script it does not load
any of the macros. I did some searching and found that by opening excel
via automation does not loa ...
|
|
|
Installing a printer using WSH
Wed, 17 Mar 2010 09:58:03 -0700 (PDT)
Hello, I am using a script to install printers but I get a strange
error message
Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\server1\sharedName_hp1"
WshNetwork.AddWindowsPrinterConnection PrinterPath
WshNetwork.SetDefaultPrinter PrinterPath
When the user logs on for ...
|
Running exchange powershell command from vbscript
Wed, 17 Mar 2010 14:04:19 +0100
Hi! :)
I need to run one powershell command from vbscript. I have no problem
running a command like Get-Command but what I need to run is an Exchange
command (Set-Mailbox). How can I do this?
I tried:
Dim objShell : Set objShell = CreateObject("Wscript.Shell")
objShell.Run("C:\Windows\System32\WindowsPow ...
|
Type Mismatch Error After Converting vbs to wsf
Mon, 15 Mar 2010 13:14:04 -0700
Have a fairly simple vbscript application that was originally coded in a
single .vbs file. Includes one function (MJLogTypeIdFromAbbr) that I wanted
to move to a common "library" so that I could make it available for use in
other vbscript apps.
So, I split that function out into a separate .vbs file, and ...
|