If you use the command prompt in Windows often, you might find it useful to setup a script to fire when it’s opened. Something similar to a bashrc file getting executed in Linux when you login. You can setup something like this using the registry.
Crack open regedit and navigate to:
Once here, you can add a value called AutoRun and provide the path to the script to run. For example, if you want to run C:\myScript.bat when the prompt is open, you’d create a new string value called AutoRun with a value of C:\myScript.bat