Select Page

Fixing a Dell recovery partition

I have a Dell 5150 that needed rebuilding but no matter what I did I couldn’t access the recovery mode (CTRL-F11 on boot). I spent a lot of time messing about installing from older CD’s, booting from USB into Ubuntu to check the system, etc. Then I found...

Task Management

I am currently trying to find a set of tools to manage a varied and complex task list. I have a number of types of task to manage and keep notes on leaving me with, what for me, is a complex set of requirements. I need to track tasks that can have start, completion...

Regular expressions in MS-DOS

If you have a path and filename and you want to extract the filename from the path then you can use the following regex: %~NXf e.g. for %f in (c:\temp*.pdf) do copy %f c:\pdffiles\%~nxf This will append only the filename to the final path. This is a bit of a...

ASP.NET MVC 2 ninja tips and tricks

Distilled from Scott Hanselman’s Blog ASP.NET MVC 2 Ninja Black Belt Tips by Scott Hanselman T4 Templating In VS 2010 you can D/L & Install the Tangible T4 editor extension Use the T4MVC templates from MVC Contrib on Codeplex Set the <:MvcBuildViews>...

A Handy Hint for DOS

for /R %z in (*.zip) do unzip “%z” The DOS for command can simplify a lot. The above example will iterate over a file (you can specify delimeters & variables) and carry out an opertion of each item found. One I use a lot is; for %f in (.dll,.ocx) do...
%d bloggers like this: