Select Page

AutoHotKey: Productivity

Managing Tasks and Projects I have used a number of productivity tools over the years from Thinking Rock to OmniFocus and have always been frustrated by not being able to access and edit my projects anywhere and on any device. For example, OmniFocus is probably my...

AutoHotKey: Time and Date

I use a simple set of scripts that allow me to enter dates in a range of formats. Day.Month.Year, Month/Day/Year, Year-Month-Day with a range of separators. This is done using the standard script below and changing the <key> and Date/Time format String....

Taming Windows

Computers are very good at dull, repetitive tasks, humans less so. I am slightly less tolerant of the dull and repetitive than average so get great enjoyment from eliminating the dull where I can and enhancing the rest as much as possible with tricks, scripts and...

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...

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: