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.

PowerShell logo

Use selective criteria to count files in PowerShell

Posted 1st July 2021

No comments

Use Windows PowerShell to easily return some key statistics about the files contained on your computer or network drives using selective criteria.

Read the full story...

How to change file permissions in Git on Windows

Posted 9th December 2020

1 comment

Make a Git repository file on a local Windows machine executable by changing the CHMOD value, which can be transferred to the repository following a push.

Read the full story...

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

6 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

1 comment

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

Read the full story...