|
hunat
新手上路

积分 9
发帖 3
注册 2005-10-6
状态 离线
|
『楼 主』:
xp下在autoexec.bat编了点命令,怎么让它开机自动运行
使用 LLM 解释/回答一下
我把开机要运行的程序写在autoexec.bat里
但是XP启动的时候没反应的
请问在哪里进行更改
不好意思 我是新手 请指教!!!
I put the programs that need to run at startup in autoexec.bat, but there is no response when XP starts. Where should I make changes? I'm sorry, I'm a newbie. Please give me some advice!!!
|
|
2005-10-6 15:45 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2005-10-6 16:30 |
|
|
hunat
新手上路

积分 9
发帖 3
注册 2005-10-6
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
那有办法让xp启动的时候运行autoexec.bat吗
Is there a way to make XP run autoexec.bat at startup?
|
|
2005-10-6 16:41 |
|
|
caisy
初级用户
 
积分 38
发帖 14
注册 2005-10-6
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
把autoexec.bat 直接放在xp的启动里不就可以了.哈..
Just put autoexec.bat directly in the startup of XP. Hehe..
|
|
2005-10-6 17:36 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
XP windows\system32\ 里有 AUTOEXEC.NT,但好象不在开机时自动运行的
但在运行16位DOS程序时自动运行..
In the XP windows\system32\ has AUTOEXEC.NT, but it doesn't seem to run automatically at boot. However, it runs automatically when running 16-bit DOS programs.
|
|
2005-10-6 17:46 |
|
|
hunat
新手上路

积分 9
发帖 3
注册 2005-10-6
状态 离线
|
|
2005-10-6 18:26 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
从Win2000开始,往后的系统都不理会系统根目录下的Autoexec.bat了。
要使系统自动执行一个批处理,可以把它放在开始菜单里面的“启动”项里。如果要使该批处理隐藏运行,可以创建其快捷方式再修改运行方式,或者做一个VBS脚本程序。
Starting from Windows 2000, subsequent systems ignore the Autoexec.bat in the system root directory. To make the system automatically execute a batch file, you can place it in the "Startup" item in the Start menu. If you want the batch file to run in hidden mode, you can create its shortcut and then modify the running method, or make a VBS script program.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-10-6 21:50 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
|
2005-10-6 23:10 |
|
|
220110
荣誉版主
      
积分 718
发帖 313
注册 2005-9-26
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by willsort at 2005-10-6 23:10:
Re JonePeng & others:
关于 NT 系列对 autoexec.bat 的处理,下帖中已有讨论:
http://www.cn-dos.net/forum/viewthread.php?tid=17107#pid100219
Re willsort:
你自我封闭式训练计划到什么时候?快出来透透气!!<img src="images/smilies/face-smile-big.png" align="absmiddle" border="0">
我看了三遍你上边提供链接的贴子,好像没怎么完整解释,在NT环境基础上的2000/XP/2003下的autoexec.bat/autoexec.nt启动失败原因吧?
我猜更多人想了解的是,如何在autoexec.nt来控制NT环境的系统的启动,比如在autoexec.nt设置密码或干扰项,从而阻止系统完成加载。若采用JONGPENG的方法在“启动”项里加入批处理的话,此时系统是已经启动完成了。
Originally posted by willsort at 2005-10-6 23:10:
Re JonePeng & others:
There has been a discussion on the handling of autoexec.bat in NT series in the following post:
http://www.cn-dos.net/forum/viewthread.php?tid=17107#pid100219
Re willsort:
When will your self-enclosed training plan end? Come out and get some fresh air!! :D
I have read the post you provided above three times, but it doesn't seem to have a complete explanation of the reasons for the failure of autoexec.bat/autoexec.nt startup under NT-based environments like 2000/XP/2003?
I guess what more people want to know is how to control the startup of the system in the NT environment through autoexec.nt, such as setting passwords or interference items in autoexec.nt to prevent the system from completing the loading. If JONGPENG's method is used to add a batch file in the "Startup" item, the system has already been started by then.
|
|
2005-12-11 10:56 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Re 220110:
很抱歉,这篇主题被我忽略了很久。另外,我的封闭训练是断续的,并非与世隔绝的意思。
关于 config/autoexec ,链接中提到的信息比较散乱,现做一下整理。
在 2000/XP/2003 等 NT 系列操作系统中,其启动过程已基本不依赖于 config.sys / autoexec.bat 这两个文件。其中,对于 config.sys 已完全不再使用,对于 autoexec.bat ,只有在注册表(见引用)中的 ParseAutoexec 值为1(默认即为此值)时,才会分析其中的 set / path 等环境变量设置语句,其它语句任何情况下均会被忽略。
config.nt / autoexec.nt 是 NT 系列命令行环境的缺省配置文件,与系统启动过程无关。在运行中输入 command 打开的命令行窗口,即使用此二文件进行了环境配置。
如果意图在 NT 系列系统加载前设置密码或干扰项,使用 autoexec.bat 或者 autoexec.nt 都是无法办到的,可能只有使用特殊的引导管理软件或者定制特殊的 ntloader 才能完成,我并不具备此方面的技术和经验。
User Key:
Value Name: ParseAutoexec
Data Type: REG_SZ (String Value)
Value Data: (0 = disabled, 1 = enabled)
Re 220110:
I'm very sorry that I've neglected this thread for a long time. Also, my closed training is intermittent, not meaning to be isolated from the world.
Regarding config/autoexec, the information mentioned in the link is relatively scattered. Now I'll sort it out.
In NT series operating systems such as 2000/XP/2003, the boot process basically doesn't rely on the two files config.sys / autoexec.bat. Among them, config.sys is completely no longer used. For autoexec.bat, only when the ParseAutoexec value in the registry (see the quote) is 1 (the default is this value), will it analyze the environment variable setting statements such as set / path in it, and other statements will be ignored in any case.
config.nt / autoexec.nt are the default configuration files for the command line environment of the NT series. They have nothing to do with the system boot process. The command line window opened by entering command in Run uses these two files for environment configuration.
If you intend to set passwords or interference items before the NT series system is loaded, using autoexec.bat or autoexec.nt can't be done. Maybe only using special boot management software or customizing a special ntloader can be done. I don't have the technology and experience in this regard.
User Key:
Value Name: ParseAutoexec
Data Type: REG_SZ (String Value)
Value Data: (0 = disabled, 1 = enabled)
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-12-29 15:24 |
|
|
vptdosme
初级用户
 
积分 97
发帖 32
注册 2005-12-3
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
直接修改注册表不就解决了吗???
Isn't it just solving it by directly modifying the registry???
|
|
2005-12-29 16:30 |
|
|
220110
荣誉版主
      
积分 718
发帖 313
注册 2005-9-26
状态 离线
|
|
2005-12-30 12:49 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
|
2006-1-7 13:54 |
|
|
Billunique
中级用户
   菜鸟总动员
积分 259
发帖 112
注册 2006-8-28
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
Willsort真是我的导师!
Willsort is really my mentor!
|
|
2007-3-30 06:29 |
|