Ok, if you use your favourite search engine to look up a recursive deletion of empty folders, you will more than likely come up with a lot of results. I did. However by the end of the first page, I hadn’t found what I needed, so made up my own. The special bits about this
Continue reading Recursively Delete Empty Folders – VBScript
Category: VBScript
VBScript: Run an app that requires a Mapped Drive
Some software is just a pain. We encountered another program yesterday that requires a mapped drive to run off the network. You can’t use a UNC path as the hyperlinks don’t work properly to a number of linked documents. We don’t have mapped drives except for the users data and a single share. So we
Continue reading VBScript: Run an app that requires a Mapped Drive
Get AD Group Members in Text File
Just a quick post – I needed to dump all the members of all groups in an OU to a text file in a sort-of pretty way. The result? See below. This short script asks the user for an LDAP path to an OU which contains groups. The script then searches that OU for all
Continue reading Get AD Group Members in Text File
Disable ‘Automatically detect settings’ in Internet Explorer
This script allows you to turn off (or on) the ‘Automatically Detect Settings’ check box in Internet Explorer. I have not been able to find a way which guarantees that this will not be checked. You can set a Group Policy into Internet Explorer Preference Mode, but if a user later changes it, then it
Continue reading Disable ‘Automatically detect settings’ in Internet Explorer
Redirected My Documents folders showing as ‘Documents’ rather than the users name
Had a complaint from a member of staff recently that all students work folders showed up as My Documents when he was browsing through their work. Many of you may have been directed to this Microsoft KB as a ‘solution’. http://support.microsoft.com/kb/947222 Not much of a solution if you ask me. Redirection to a subfolder would
Continue reading Redirected My Documents folders showing as ‘Documents’ rather than the users name
VBScript: If..Or..Then
Just been trying to do something that I thought would be really simple. Just been modifying a script which checks a specified network drive’s folders, to make sure that every folder has a corresponding user in Active Directory, and then, if it does set the owner and permissions on that folder accordingly. (We have changed
Continue reading VBScript: If..Or..Then
VBScript – Create a shortcut with parameters
Hi, This really is something quite simple, but it has taken me ages to find the answer. And it seems to be something that many people are looking for the answer to and not finding easily. I wanted to create a shortcut using a VBScript, part of an installation script. The program had parameters passed
Continue reading VBScript – Create a shortcut with parameters