cmd Startup Commands
2017-11-28 13:13:55 Author: parsiya.net(查看原文) 阅读量:38 收藏

This blog talks about how to run a command automatically every time you open a new command prompt on Windows.

  1. Open registry.
  2. Navigate to the following location:
    • HKCU\Software\Microsoft\Command Processor
  3. Double click Autorun and type in your command. For example:
    • cd /d C:\Users\IEUser\Desktop\Whatever\
  4. If the Autorun property is missing, create one with type REG_SZ.
  5. Now every cmd will automatically cd to the Whatever directory.

I am going to keep blogging consistently (hopefully). This means breaking my habit of having to write extensive blog posts.


文章来源: https://parsiya.net/blog/2017-11-27-cmd-startup-commands/
如有侵权请联系:admin#unsafe.sh