Skip to content

Run an ImageJ batch processing macro in “headless” mode

G23rd October 2018 

CNo 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

G9th April 2018 

CNo comments

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

Read the full story

Transferring packages between different versions of R

G31st July 2017 

CNo 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

G23rd February 2017 

CNo comments

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

G6th December 2016 

C1 comment

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

G11th November 2016 

CNo comments

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

G5th August 2016 

C1 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

G1st August 2016 

C1 comment

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 

C5 comments

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