China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-27 01:27
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Why doesn't AUTOEXEC.BAT run after booting? View 2,711 Replies 17
Original Poster Posted 2006-07-16 11:20 ·  中国 重庆 云阳县 联通
新手上路
Credits 8
Posts 2
Joined 2006-07-15 17:19
20-year member
UID 58622
Status Offline
Write the following commands in AUTOEXEC.BAT in the root directory of drive C under the XPSP1 system:
ECHO start
format X:
After saving, restart the computer but the batch processing is not seen to run. (There is no X drive in the system)
Floor 2 Posted 2006-07-16 11:53 ·  中国 北京 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
On 2000, XP, and 2003, AUTOEXEC.BAT is not run at startup; only pure DOS and 98 systems can do that..........
Floor 3 Posted 2006-07-16 12:10 ·  中国 重庆 云阳县 联通
新手上路
Credits 8
Posts 2
Joined 2006-07-15 17:19
20-year member
UID 58622
Status Offline
Got it, it seems that to format someone else's hard drive, you need to find another way.
Floor 4 Posted 2006-07-16 12:24 ·  中国 北京 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
Oh, this is really vulgar...
Floor 5 Posted 2006-07-16 12:37 ·  中国 广东 佛山 电信
初级用户
★★
Credits 178
Posts 82
Joined 2006-05-12 23:53
20-year member
UID 55419
Status Offline
Seeing that he used format, I could guess half of it. Who would format the hard drive just by booting up for no reason?
Floor 6 Posted 2006-07-16 15:14 ·  中国 广东 深圳 南山区 电信
新手上路
Credits 12
Posts 9
Joined 2006-03-17 17:55
20-year member
UID 52277
Status Offline
Oh, what exactly does this gentleman want to do? This isn't a hacker forum...
Floor 7 Posted 2006-07-16 16:58 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
In 2k/xp, there is autoexec.nt, but it is also executed after login, and can only format non-system partitions. But I advise you to do less bad things oh~~~
32位才是DOS未来的希望
个人网志:http://sololand.moe
Floor 8 Posted 2006-07-17 00:30 ·  中国 广东 广州 白云区 电信
中级用户
★★
Credits 466
Posts 237
Joined 2005-10-12 20:53
20-year member
UID 43413
Status Offline
Should such posts be deleted?
Floor 9 Posted 2007-02-15 13:26 ·  中国 江苏 苏州 电信
初级用户
Credits 56
Posts 21
Joined 2007-02-01 13:46
19-year member
UID 78326
Gender Male
Status Offline
Everyone is just communicating. Do you have to kill all hackers if they exist?
Floor 10 Posted 2007-02-15 13:34 ·  中国 广东 湛江 电信
高级用户
★★★
Credits 959
Posts 311
Joined 2006-04-11 14:08
20-year member
UID 53665
Gender Male
From 广东-LianJiang
Status Offline
Actually, it is possible to execute the auto-batch when Windows XP SP1 starts. I remember seeing in some materials that there is a switch in the registry. I don't remember the exact value accurately. I need to check the materials and then post it here for everyone to see later.
κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生
Floor 11 Posted 2007-02-15 14:20 ·  中国 广东 深圳 电信
初级用户
★★
Credits 135
Posts 64
Joined 2006-12-20 04:35
19-year member
UID 74003
Gender Male
Status Offline
Technical discussion doesn't matter about good or bad...

But one should be honest!
Floor 12 Posted 2007-02-15 21:04 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
20-year member
UID 60532
Status Offline
Under 2k/xp, there is autoexec.nt, but it is also executed after logging in and can only format non-system partitions. But I advise you to do fewer bad things~~~

Actually, in the startup of winxp sp1, it is possible to execute an automatic batch processing. I remember seeing in some materials that there is a switch in the registry. I can't remember the exact value, I need to check the materials and then post it for everyone to see later.

Regarding whether autoexec.nt is created by oneself and placed in the root directory of the C drive???
Actually, in the startup of winxp sp1, it is possible to execute an automatic batch processing... "I don't know if in sp2, there is no such switch, looking forward to your reply?
Floor 13 Posted 2007-02-17 00:28 ·  中国 广东 湛江 电信
高级用户
★★★
Credits 959
Posts 311
Joined 2006-04-11 14:08
20-year member
UID 53665
Gender Male
From 广东-LianJiang
Status Offline
Finally found the original materials, and I'll put them up for everyone to take a look.

Make Windows XP Also Read Environment Variables in Autoexec.bat

In Microsoft's Windows NT/2000/XP and other systems, the Autoexec.bat file in the root directory of drive C is ignored at startup. But sometimes we hope that the computer can read the environment variables in it when starting, which can also be achieved by modifying the registry.
① Open the Registry Editor and locate .
② In the blank area on the right side of the window, create a new string value item named "ParseAutoexec" and modify its value to "1".
κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生
Floor 14 Posted 2007-02-17 01:23 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
20-year member
UID 60532
Status Offline
Thank you, friend from the upper floor
Floor 15 Posted 2007-02-17 02:02 ·  中国 广东 湛江 电信
高级用户
★★★
Credits 959
Posts 311
Joined 2006-04-11 14:08
20-year member
UID 53665
Gender Male
From 广东-LianJiang
Status Offline
Hehe, you're welcome. Let's study together
κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生
Forum Jump: