diff --git a/README.md b/README.md index 2c705c7..1440ab4 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ This repository contains small scripts to run NirCmd on Windows systems, to move ### Scripts * `alive.sh` is a Shell script which calls NirCmd to move the cursor every 30 seconds. * `alive.ps1` is a PowerShell script which calls NirCmd to move the cursor every 30 seconds. +* `alive.bat` is an MS-DOS batch which calls NirCmd to move the cursor every 30 seconds. diff --git a/alive.bat b/alive.bat new file mode 100644 index 0000000..e83dd5d --- /dev/null +++ b/alive.bat @@ -0,0 +1,6 @@ +@echo off +:loop + nircmd.exe movecursor 1 1 + nircmd.exe movecursor -1 -1 + TIMEOUT 30 +GOTO :loop