Go to registry (Type regedit from command prompt) and browse to following path
Now create a new string value named “Autorun” and set its value to your desired location as shown below. In this case I am setting this to “C:\1".
cd /d C:\
Disclaimer : Since you are editing registry, ensure to keep a copy. I have tested this only in Win-10 and it should work fine in other windows version too.