Tag Archive: batch command

Dec 04 2012

Unexpected Variable Behaviour in DOS Batch and Delayed Expansion

cmd

What would you expect the following piece of Code to print. if the directory ‘A’ doesn’t exist @ECHO OFF IF ’1′==’1′ ( CD a ECHO %ERRORLEVEL% ) CD a ECHO %ERRORLEVEL% Not very intuitive right? This is because the DOS batch processor treats the whole if statement as one command, expanding the variables only once, before …

Continue reading »

Permanent link to this article: http://trycatch.me/unexpected-variable-behaviour-in-dos-batch-and-delayed-expansion/

Aug 16 2012

Global Assembly Versioning Strategy & Development Workflows for .NET Assemblies

Over the past few weeks I’ve been working on a new project in our company which involved building a number of inter-dependent assemblies, “strongly naming” them and installing them into the Global Assembly Cache. Over the course of the project, I was forced to look at a number of issues related to assembly versions, solution …

Continue reading »

Permanent link to this article: http://trycatch.me/global-assembly-versioning-strategy-development-workflows-for-net-assemblies/