Import vCard Files into Outlook with VBA

This small VBA macro automates the import of vCard files from a local folder into Outlook. It loops through all files in C:\VCARDS, opens each one through Outlook, saves the imported contact, and then closes the Inspector window again. What the macro does The macro is designed for simple batch import scenarios where multiple .vcf files need to … Weiterlesen

Check content of ZIP file with VBS

Sometimes it is useful to verify the contents of a ZIP file before processing it further. One common check is to determine how many files are stored inside the archive. This can help identify whether the ZIP file is empty or possibly corrupted. A simple VBScript can do this by using the Windows Shell namespace … Weiterlesen

Blinking keyboard LED via VBS to get attention

When a script is waiting for input, a standard message box is sometimes too easy to miss. A simple workaround is to combine an on-screen pop-up with a blinking keyboard LED, so the user gets both a visible desktop notification and a hardware-based signal. In this example, VBScript uses WScript.Shell to toggle the Scroll Lock key and display a … Weiterlesen

Check and restart running services via Batch script (with log)

Sometimes PowerShell is not available, not wanted, or simply not the right choice for a quick check. In those cases, a batch script can still do a practical job: verify whether important services are running, restart them if necessary, and log each failure with a timestamp. This example shows how to monitor a small set … Weiterlesen

Find an unused drive letter in Batch script

When working with batch scripts, it is sometimes useful to find the first free drive letter automatically. This is especially helpful in scripts that mount temporary network paths, map local resources, or prepare a workspace without hardcoding a drive letter that may already be in use. The following batch script checks a list of drive … Weiterlesen