Create a new text file on desktop → rename to RotateCycle.bat
Right-click → Edit → paste this:
@echo off setlocal enabledelayedexpansion :: Path to display.exe - change if needed set DISPLAY="C:\Tools\Display.exe" rotate desktop shortcut
Note: /getrotation may not work with all versions. Alternative: Use a small temp file to track state. Create a new text file on desktop → rename to RotateCycle