How do I run a command when opening cmd.exe with shortcut?
Solution 1:
In the target box of your shortcut, use
cmd /K "chcp 1252"
This should run your program and leave the cmd window up when complete
Solution 2:
Per the docs on cmd.exe,
The registry keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun\REG_SZ
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun REG_EXPAND_SZ
should do what you want.