Showing results for December 2004 - Scripting Blog [archived]

Dec 22, 2004
0
0

How Can I Save Word Documents as Text Files By Using a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a series of Word files. I would like to open each of these files and save them as plain-text files. Is there a way to do that using a script?-- CG Hey, CG. Yes, you can do this quite easily with a script; in fact, with very few exceptions anything you can do within a Microsoft Office program you can do by using a ...

Scripting Guy!VBScriptOffice
Dec 21, 2004
0
0

How Can I Tell Whether a Group is a Security Group or a Distribution Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there any way to tell whether an Active Directory group is a security group or a distribution group?-- AW Hey, AW. As a matter of fact, there is; this script will tell you what type of group you’re dealing with:Set objGroup = GetObject _ ("LDAP://cn=Finance Managers, ou=Finance, dc=Fabrikam, dc=com") Wscript.Echo ...

Scripting Guy!VBScriptActive Directory
Dec 20, 2004
0
0

How Can I Return a List of Downloaded Controls and Applets for Internet Explorer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there an easy way to find out what programs have been downloaded for Internet Explorer (the items that are in the folder C:\Windows\Downloaded Program Files)? I can use a script to get the executable file names and dependent files, but I’d like to be able to get the names as they are shown in the folder itself.-- AC Hey...

Scripting Guy!VBScriptusing the Internet
Dec 17, 2004
0
0

How Can I Connect to a Folder When There’s an Apostrophe in the Folder Name?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’m using the WMI class Win32_Directory to get information about folders on a computer. It works great, except when there’s an apostrophe in the folder name; then, it doesn’t work at all. How can I use WMI to connect to folders that have apostrophes in their names?-- JO Hey, JO. Ah, the apostrophe (also known as the ...

Scripting Guy!VBScriptstorage
Dec 16, 2004
0
0

How Can I Get a List of All the Domain Controllers in My Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is it possible to get a list of all the domain controllers in my domain?-- KT Hey, KT. As a matter of fact, there are at least two ways to get a list of all domain controllers in your domain. The first way is pretty easy, but not guaranteed; depending on how you’ve set up Active Directory, you could miss a few of your ...

Scripting Guy!VBScriptActive Directory