Philip Hendry's Blog
Sporadic musings from Philip Hendry

Colouring the Command Prompt

Aug 6, 2009 • Code, Scripting • 1 min read

A long time ago I wrote some really basic code to colour the output displayed in the Windows cmd.exe. I’ve just come across it hidden in one of my folders and thought I’d resurrect it since it’s something I’d like to look at in PowerShell when I have the opportunity (although changing the colour in PowerShell is easy with Out-Host.) The tool was originally knocked together because I’d wrapped grep.exe in a batch file but wasn’t happy with the output – I wanted matching strings that I was searching for to be highlighted in different colours.  Read →

ADO.NET Entity Framework

Aug 4, 2009 • Entity Framework • 1 min read

Random Thoughts

 Read →

String Concatenation in T-SQL and Importing from Excel

Jul 31, 2009 • SQL Server, T-SQL • 1 min read

I keep forgetting how simple this little trick is so it’s time to blog it.  Read →