https://winaero.com/fix-run-does-not-save-command-history-in-windows-10/
Fix Run does not save command history in Windows 10