Any command that is placed in the key below ("pause" in the example) is executed normally in a manually opened console, but it does not execute in a console opened by a script in Autoit, through the command: Run ( @ComSpec & " /c ..." ). Does anyone have any idea how to solve it? I've already tried using the key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Command Processor\Autorun" as well and there is no key "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor\Autorun".
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"Autorun"="pause"