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 […]
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 […]
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 recently posted a code scrap for getting all content of a directory in Linux. Here is the same code scrap but for Windows. C:\TestDir\> dir /b /s > C:\temp\files.txt […]
I have a collection of eBooks that I’ve bought over the years, and thanks to sites like HumbleBundle, my collection is growing on a fairly regular basis. I keep them […]
Automatically create Zip Files of all sub-directories from the command line using 7-Zip This code shim explains how to create a batch script that will let you automatically create zip […]
Easily retrieve the file size of a directory and all files and sub-directories using Powershell This code shim explains how to create a quick little Batch Script that will utilise […]