Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Relative file paths in BAT files

Posted 30th January 2019

No comments

Instructions for using a relative file path in batch files.

Read the full story...

Run an ImageJ batch processing macro in “headless” mode

Posted 23rd October 2018

No comments

Instructions for running an ImageJ macro script in “headless” mode via the command prompt in Windows.

Read the full story...

Run a PowerShell script directly from GitHub Gist

Posted 9th April 2018


Simple code that enables you to host your PowerShell scripts on GitHub Gist but execute them from a local machine.

Read the full story...

R logo

Transferring packages between different versions of R

Posted 31st July 2017

No comments

Use a couple of small scripts to easily “transfer” installed packages between different installations or versions of R.

Read the full story...

UNC path from local path in PowerShell

Posted 23rd February 2017


Use this simple PowerShell code to convert a local path into an UNC path.

Read the full story...

Download all PDFs from a web page via PowerShell

Posted 6th December 2016


Use PowerShell to download every PDF from a web page and save them to a nominated folder.

Read the full story...

Upload files to an SFTP server via PowerShell

Posted 11th November 2016


Easily transfer files from a local drive to a Secure File Transfer Protocol (SFTP) server using PowerShell. This script is useful for automating file transfers.

Read the full story...

PowerShell: Creation date into filenames

Posted 5th August 2016

1 comment

Insert a file’s creation date into its file name using a simple piece of PowerShell scripting.

Read the full story...

Use a batch file to run your PowerShell scripts

Posted 1st August 2016


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

Posted 28th July 2016


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