Add batch for alive process

This commit is contained in:
Alexandre CATTEAU 2023-10-27 17:38:13 +02:00
parent 2b5db75171
commit 18f96ba3a6
2 changed files with 7 additions and 0 deletions

View File

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

6
alive.bat Normal file
View File

@ -0,0 +1,6 @@
@echo off
:loop
nircmd.exe movecursor 1 1
nircmd.exe movecursor -1 -1
TIMEOUT 30
GOTO :loop