Cygwin 的 ISO 下载收藏
深入了解c/c++输入输出相关。转两篇

让 cmd 启动时执行一些命令

皮贝贝 posted @ 2009年9月21日 17:16 in 岁月舍利 , 2049 阅读

 很多时候,我们需要在 cmd 启动时,设置一些环境,比如编译环境,这样就可以直接打开 cmd 编译文件了。

 

  1. 新建一个 .cmd 文件,里面写上要执行的内容。复制到硬盘某一个地方。
  2. 注册表定位到 HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\command processor, 将 AutoRun 项设置成刚才的 .cmd 文件即可。

  • 无匹配
Avatar_small
pavzi.com 说:
2024年1月27日 13:42

The primary idea or goal of this website has been to offer resources that contain comprehensive information on every subject and are accessible via the Internet. making certain that each and every reader finds the most relevant and pavzi.com worthwhile information regarding the subject they are searching for and linking to our content.Because our website is multi-niche or multi-category, it will guarantee that it offers resources and information on every subject. Our website features a number of timeless topics, including career, job recruitment, education, technology, and reviews, among others. Indeed, Tech, Finance, and Product Reviews are our primary focus.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter