It can be very useful to pass parameters from a Windows Batch Script to VBScript. For this to work, a user will pass parameters to […]
Continue readingTag: Windows
Call VBScript from a Windows Batch Script
This very easy bit of code will call a VBScript script from a Windows Batch Script: call script.vbs
Continue readingHow to Create a Shortcut with VBScript
This script came in handy when I needed to roll out a desktop shortcut to every employee at the company I work for. The script […]
Continue readingScheduling a Backup Job in Microsoft SQL 2005 Express Edition
SQL 2005 Express Edition does not offer a way to schedule jobs. The following steps outline a way to schedule jobs in SQL 2005 Express […]
Continue readingHow to Turn on xp_cmdshell for SQL 2005
The xp_cmdshell function can be very helpful for running commands on an SQL server. However, turning on the function comes with risks. I’ll discuss those […]
Continue readingScript to Add a New SQL Differential Backup Job With Daily Incremental Zip Archives
This script builds on the differential backup script, adding a zipped incremental backup. This script will create a zip file for each day of the […]
Continue readingScript to Add a New SQL Differential Backup Job
I know you’ve been waiting for this… This script will add a differential backup job to Microsoft SQL Server 2005. Use this script in conjunction […]
Continue readingScript to Add a New SQL Backup Job
This script is for the times when I like to automate the task of adding database backup jobs to Microsoft SQL Servers. I’ll sometimes add […]
Continue readingOutput the Date in a Windows Batch Script
This simple script will output the date in the MMDDYYYY format. The script can be used to enhance other scripts, for log files, etc. @echo […]
Continue readingRead Each Line of a File with VBScript
A very useful script that will read each line of a text file and output the results. I use this for everything from reading log […]
Continue reading