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

PowerShell logo

UNC path from local path in PowerShell

Posted 23rd February 2017

2 comments

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

Read the full story...

Access Virtual Application files via the Q-drive

Posted 22nd February 2017

No comments

A simple technique to obtain access to the virtual environment (Q-drive) of an application in Microsoft Windows.

Read the full story...

R logo

Update R from within the console

Posted 14th February 2017

No 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

Posted 24th November 2016

No 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

Posted 1st August 2016

7 comments

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

Read the full story...

PowerShell logo

Folder or file browser dialogues in PowerShell

Posted 28th July 2016

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

PowerShell logo

DOS 8.3 short paths via PowerShell

Posted 5th July 2016

3 comments

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

Read the full story...

Robocopy

Posted 24th May 2016

No 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

Posted 1st October 2015

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