Skip to content

David Costello

dmcostello.com

  • Home
  • About
  • Articles
    • Internet
    • Programming
    • Uncategorised
  • Projects
  • Resources
    • Downloads
    • Links
  • Contact

Batch Scripts

Code Scraps: Script zipping, transfer and unzipping in a Windows Batch Script

14th October 202014th October 2020 @davidcostello42

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 […]

 Code Scraps, Programming  Automated, Batch Scripts, Command Line, Deployment, Zip  Leave a comment

Code Scraps: Send TeamCity the date and time during builds on Windows

4th December 20184th December 2018 @davidcostello42

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 […]

 Code Scraps, Computing, Programming  Batch Scripts, Command Line, Continuous Integration, Dates, Programming, TeamCity, Time, Windows  Leave a comment

Programmatically storing your Database for Source Control

18th June 201817th September 2018 @davidcostello42

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 […]

 Programming  Bash, Batch Scripts, Command Line, GIT, MySQL, Oracle, Poweshell, Programming, Shell, Source Control, SQL, SQL Server, SQLite, SVN  Leave a comment

Code scraps: Get all files of a type in Windows

31st May 201831st May 2018 @davidcostello42

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 […]

 Code Scraps, Computing, Programming  Batch Scripts, Command Line, Windows  Leave a comment

Code Scraps: Get a list of all content in a directory on Windows

25th July 201712th September 2017 @davidcostello42

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 […]

 Computing, Programming  Batch Scripts, Command Line, Data, Data Formatting, Poweshell, Windows  1 Comment

Code Scraps: Command Line manual logging

4th July 201720th July 2017 @davidcostello42

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 […]

 Code Scraps, Computing, Programming  Batch Scripts, Command Line, Entertainment, Programming, Security  Leave a comment

ZipSubs; A command-line utility for compressing sub-folders in a directory.

29th June 201415th September 2017 @davidcostello42

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 […]

 Programming  Batch Scripts, Command Line, Programming, Windows, Zip  Leave a comment

GetSize; A command-line utility for recursively getting directory size.

29th June 201415th September 2017 @davidcostello42

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 […]

 Programming  Batch Scripts, Command Line, Poweshell, Programming, Windows  Leave a comment

Search

Archives

  • January 2021
  • October 2020
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2014
Proudly powered by WordPress | Theme: Moesia by aThemes