From the category archives:

BAT Files

Send mail from your bat files

November 17, 2009
Thumbnail image for Send mail from your bat files

Two weeks ago, I wrote about backing up a remote windows machine using Remote Desktop.
One thing lacking from this solution is email notification. How do we know if the backup job started? Or finished?
There is a free and open source tool that can be used to solve this problem, it is called blat. It consists [...]

Read the full article →

Date and time stamp in your batch files

November 11, 2009
Thumbnail image for Date and time stamp in your batch files

Update 11-12-2009: Looks like I made a typo. The date should be extracted with this line:
%date:~-4,4%%date:~-10,2%%date:~-7,2%
I have updated the article below, and thanks to Jim.G for noticing it!
There has been some activity recently in an old 2007 post I wrote about creating a date and time stamp in your batch files.
Well, the [...]

Read the full article →

Secure remote backup using remote desktop

November 5, 2009
Thumbnail image for Secure remote backup using remote desktop

I have been playing around with a few ideas on how to backup a server I have that is on the other side of town.
One of the problems I have is that the Internet provider blocks VPN traffic, and most other ways I know of getting a secure connection.
The one thing I can do [...]

Read the full article →

Free Tool – Suspend from the command line

September 22, 2009

I have a system task schedule that wakes up my system at night, runs a few backup processes…and then shuts the computer down.
What I really wanted it to do was to suspend, or hibernate. That way I can get back into my computer quick when I come back in the morning.
After searching around, I found [...]

Read the full article →

Write a script to find and delete a file

June 17, 2009

I distributed a test version of Remote Control 4.0 across our network last week, and since it was a special debug version, it created a large number of files named debuglog.dat.
I wanted an easy way to find and delete these using a batch file. I researched and was able to take parts of other scripts [...]

Read the full article →