This is yet another short article from the many topics mentioned in the Batchography book. In this article, I am going to show you how to have a Batch file of your choice execute each time you open the command prompt.
Putting it simply, all you have to do is create a string registry value called AutoRun under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command then specify the path of the Batch script you want to run!
A useful AutoRun Batch script is a script that sets up command macros using the Doskey command, but that’s a topic for another time!
Buy from Amazon:
You might also like: