To automatically start a program every time cmd.exe is started, edit the following registry key:
HKLM\Software\Microsoft\Command Processor
Add a variable called "Autorun", it is a string the value of which is the command you want to start.
I also explain how to write a BAT file that will automate the process of creating the registry key.
Note that at this point the program works as expected, but there are a few things that can be improved. That's going to be done in one of the next video tutorials. Stay tuned!
Link to this comment:
All Comments (0)