Code Scraps: Script zipping, transfer and unzipping in a Windows Batch Script
This code scrap illustrates how you can have a Batch File create a deployment zip, transfer the zip to a target server, and then unzip at the other end. Zipping […]
This code scrap illustrates how you can have a Batch File create a deployment zip, transfer the zip to a target server, and then unzip at the other end. Zipping […]
Having the date and time available to you during a TeamCity build is very useful – but this information isn’t always available by default to TeamCity. Here is a Windows […]
Recently a Windows update was published by Microsoft that can cause errors connecting to hosts using the Remote Desktop Connection application. The error that displays actually explains the nature of […]
Databases are often a critical part of most applications today. But how do you go about storing them for Source Control purposes? There are a number of approaches – the […]
Here’s a quick Windows Powershell script to delete all files in a folder that are older than a certain number of days. # Delete all Files in <directory> older than […]
This extends upon my previous code scrap for listing all files in Windows. If you want to produce a list of just a certain type of files in a directory […]
I’ve worked in a few big organisations and I’ve found that using Outlook to look up colleagues can be difficult if you don’t know someone’s first name. So I’ve often […]
Did you know that the protective plastic or glass shield over an important button is colloquially called a Molly-guard? You can also get a script for Unix PC’s called molly-guard […]
Recently a relative of mine asked if I could get rid of a couple of old desktop computers and a laptop. The relative had removed all their important files from […]
Did you know Windows can do its own equivalent of Linux Symbolic Links? It’s been able to do them for quite a while, but it’s not something a lot of […]