中国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-07 23:32
48,041 topics / 350,128 posts / today 3 new / 48,252 members
DOS批处理 & 脚本技术(批处理室) » Question about running a BAT file at startup
Printable Version  857 / 6
Floor1 paradiseapple Posted 2008-03-29 12:05
初级用户 Posts 30 Credits 78
I want to ask, is there any way to have a specified batch file run automatically as soon as the machine starts,
like a file such as abc.bat.
Best if it would still work even after reinstalling the system
Floor2 huahua0919 Posted 2008-03-29 12:20
银牌会员 Posts 780 Credits 1,608
If you want it to reload again under WINDOWS after reinstalling the system, that should be impossible!
Floor3 huahua0919 Posted 2008-03-29 12:58
银牌会员 Posts 780 Credits 1,608
There are lots of ways to make it start at boot without reinstalling the system
1: Drag your P file into [Start]--[Programs]--[Startup]
2: Use the run, runonce, load, etc. entries in the registry (regedit)!
3: Use the scripts (Startup/Shutdown) under Windows Settings in Group Policy (gpedit.msc)
4: Add a system service (you can add a service in the registry)
Floor4 bat-zw Posted 2008-03-29 13:02
金牌会员 Posts 1,276 Credits 3,105
For this you need to find a hacker expert—no, actually, a top-level hacker expert!!!!
Floor5 paradiseapple Posted 2008-03-29 13:13
初级用户 Posts 30 Credits 78
If the batch file I specify is not on drive C:,
that is, it's still there after reinstalling,
then how can I still have it triggered to run after reinstalling
Floor6 huahua0919 Posted 2008-03-29 13:16
银牌会员 Posts 780 Credits 1,608
No way to trigger it
Floor7 luckboy45 Posted 2008-03-29 19:21
中级用户 Posts 212 Credits 487
It can be triggered, it's just that the OP has to drag it into the Startup folder again after reinstalling..... only works for use after reinstalling.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023