Skip to content

Update R from within the console

G14th February 2017 

CNo comments

A useful protocol for updating the R statistical package from within the R console window.

Read the full story

Unzip .tar.gz files in Windows

G24th November 2016 

CNo comments

Use this one-liner in the command prompt to extract the contents of .tar.gz files on Microsoft Windows machines.

Read the full story

Use a batch file to run your PowerShell scripts

G1st August 2016 

CNo comments

This simple batch file will enable a PowerShell script file (*.ps1) to execute with Administrator permissions in Windows.

Read the full story

Folder or file browser dialogues in PowerShell

G28th July 2016 

C1 comment

Make life easy for the users of your scripts: Rather then entering file/folder paths at the command line, let them select from a GUI dialogue box.

Read the full story

DOS 8.3 short paths via PowerShell

G5th July 2016 

CNo comments

Use this PowerShell script to discover the DOS 8.3 path name for any selected folder in Windows.

Read the full story

Robocopy

G24th May 2016 

CNo comments

Use the built-in Microsoft “robocopy” utility to move or copy files en masse.

Read the full story

Upgrading to Windows 10 on an older PC

G1st October 2015 

C1 comment

My experience upgrading from Windows 7 to Windows 10 on a 5yo laptop could have been better, but some good planning will ensure a smooth transition to Microsoft’s latest operating system.

Read the full story

Use PowerShell to copy all files with a certain name or extension

G2nd September 2015 

CNo comments

Use this simple PowerShell script to batch copy files from one location to another on your computer.

Read the full story

Batch extract zip files with PowerShell

G19th August 2015 

CNo comments

Use this simple PowerShell script to batch unzip large numbers of files at once.

Read the full story

Automatically delete files listed in a CSV

G26th September 2014 

CNo comments

A PowerShell script that reads a list of files in a CSV and deletes them from a computer drive automatically.

Read the full story