中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-27 02:23
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » Why doesn't AUTOEXEC.BAT run after booting?
Printable Version  2,713 / 17
Floor1 aqtd Posted 2006-07-16 11:20
新手上路 Posts 2 Credits 8
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)
Floor2 bagpipe Posted 2006-07-16 11:53
银牌会员 Posts 425 Credits 1,144 From 北京
On 2000, XP, and 2003, AUTOEXEC.BAT is not run at startup; only pure DOS and 98 systems can do that..........
Floor3 aqtd Posted 2006-07-16 12:10
新手上路 Posts 2 Credits 8
Got it, it seems that to format someone else's hard drive, you need to find another way.
Floor4 bagpipe Posted 2006-07-16 12:24
银牌会员 Posts 425 Credits 1,144 From 北京
Oh, this is really vulgar...
Floor5 austion Posted 2006-07-16 12:37
初级用户 Posts 82 Credits 178
Seeing that he used format, I could guess half of it. Who would format the hard drive just by booting up for no reason?
Floor6 zorsite Posted 2006-07-16 15:14
新手上路 Posts 9 Credits 12
Oh, what exactly does this gentleman want to do? This isn't a hacker forum...
Floor7 brglng Posted 2006-07-16 16:58
银牌会员 Posts 466 Credits 1,200 From 上海
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~~~
Floor8 Scott0902 Posted 2006-07-17 00:30
中级用户 Posts 237 Credits 466
Should such posts be deleted?
Floor9 kinghuai Posted 2007-02-15 13:26
初级用户 Posts 21 Credits 56
Everyone is just communicating. Do you have to kill all hackers if they exist?
Floor10 qasa Posted 2007-02-15 13:34
高级用户 Posts 311 Credits 959 From 广东-LianJiang
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.
Floor11 lovehack2006 Posted 2007-02-15 14:20
初级用户 Posts 64 Credits 135
Technical discussion doesn't matter about good or bad...

But one should be honest!
Floor12 anqing Posted 2007-02-15 21:04
高级用户 Posts 413 Credits 859
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?
Floor13 qasa Posted 2007-02-17 00:28
高级用户 Posts 311 Credits 959 From 广东-LianJiang
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".
Floor14 anqing Posted 2007-02-17 01:23
高级用户 Posts 413 Credits 859
Thank you, friend from the upper floor
Floor15 qasa Posted 2007-02-17 02:02
高级用户 Posts 311 Credits 959 From 广东-LianJiang
Hehe, you're welcome. Let's study together
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023