Quote from MS Technet: Q: Hey, Scripting Guy! How can I delete folders based on a wildcard character? For example, how can I delete all the folders whose name starts with December? A: Hey, RR. Well, that depends. If you’re running Windows ...Read More

CDO.Message (cdosys.dll) to send an SMTP Mail with importance (as a VBS Script)">

I had to create a .VBS script to create an automated E-Mail message. The hardest part was to set the importance of the mail, I've found the solution here: http://www.lewisroberts.com/?p=64 Here come's the script: Dim iMsg Dim iConf Dim Flds Dim ...Read More

I wanted to edit some Registry permissions with the command line utility setacl.exe and wrote a little script to automate this stuff. The name of the registry key is HKEY_LOCAL_MACHINESOFTWAREGeutebrück – yes, with a nasty umlaut. When I used cmd.exe ...Read More

DLL and OCX Files dynamically">

If you need to register .dll and .ocx files in a directory (and below), this little batch file should help you: [cc lang="bash" tab_size="2" lines="40"] @echo off ::you need to start this .cmd file with a ::parameter, to prevent an unintended start. if %1$ == ...Read More

VBS Script)">

Perhaps you want to send a generated E-Mail from a script and you need to convert the current user information into his E-Mail address stored in the AD. This is quite a simple job with a .VBS script: Set objNetwork = ...Read More

Ok you want to waste some time? Good! We create a script that will create a picture each 20 minutes, resize this pic, add a timestamp to the image. Then we create a animated gif, so you can watch what ...Read More

VBS Script to install Printers">

Perhaps you know the problem, you need to install new Printers for all your Users. But this can be really a pain, so here is a little .VBS script. This Script look in a text file containing the UNC path ...Read More