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-07-14 23:28
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to make a batch file start with the system (XP) together? View 4,510 Replies 16
Original Poster Posted 2006-10-15 23:12 ·  中国 北京 海淀区 IDC机房
初级用户
Credits 22
Posts 7
Joined 2006-10-15 22:07
19-year member
UID 65881
Gender Male
Status Offline
How to make a batch file start with the system (XP)?
Floor 2 Posted 2006-10-15 23:56 ·  中国 黑龙江 牡丹江 中移铁通
初级用户
Credits 71
Posts 34
Joined 2006-09-15 02:15
19-year member
UID 62611
Status Offline
I once heard of a batch script under Windows. It's the batch script for reinstalling software and restarting to replace system files. I haven't used it. It's said that this batch script deletes itself after running once, probably using del %0.
Floor 3 Posted 2006-10-16 02:29 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
There are no ones started together, only ones logged on together

Keywords: logon script

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 4 Posted 2006-10-16 04:15 ·  中国 江苏 南京 电信
高级用户
★★
Credits 623
Posts 214
Joined 2006-09-22 20:48
19-year member
UID 63387
Status Offline
Just put it into C:\Documents and Settings\Username\「Start」Menu\Programs\Startup\, isn't that enough!!
Floor 5 Posted 2006-10-22 10:35 ·  中国 黑龙江 牡丹江 中移铁通
初级用户
Credits 71
Posts 34
Joined 2006-09-15 02:15
19-year member
UID 62611
Status Offline
Putting it in C:\Documents and Settings\Username\「Start」Menu\Programs\Startup\ is different from the one in the top post about making a batch file start with the system (XP).
Floor 6 Posted 2006-10-22 11:03 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

  Does the LZ mean to make the batch file run with the system startup?

  1. Can be added under the registry run.

  2. Can be placed in the startup folder.

  3. Can be added to autoexec.bat, and the batch will run when it is executed.

  4. Can be added to the startup script of the group policy, so that it runs with the system startup.

  …………There are many methods……
Floor 7 Posted 2006-10-22 13:32 ·  中国 山西 阳泉 联通
新手上路
Credits 17
Posts 11
Joined 2006-10-22 13:10
19-year member
UID 67721
Gender Male
Status Offline
Cannot start before the system, if the skin does not exist, where will the hair attach?
Floor 8 Posted 2006-10-22 14:02 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

  This...

  The system hasn't booted yet, can you run your program?
Floor 9 Posted 2006-10-23 02:53 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
The landlord can flash a command and your batch processing into the BIOS by yourself, ^_^

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 10 Posted 2006-10-26 20:38 ·  中国 江苏 苏州 电信
新手上路
Credits 4
Posts 2
Joined 2006-10-06 08:18
19-year member
UID 64688
Status Offline
Floor 9
The original poster can flash a command and your batch file into the BIOS by yourself, ^_^

--------------》》》》 Floor 9 said it makes sense, I have a suggestion. If you want to flash, you must flash DOS in as well
Only then can it run!!
Floor 11 Posted 2006-10-27 05:04 ·  中国 天津 南开区 联通
初级用户
Credits 34
Posts 20
Joined 2006-10-15 08:57
19-year member
UID 65839
Status Offline
I think what the original poster wants to say is how to make this batch processing have a higher priority than starting from these places. I also encountered such a difficult problem. If I add it to start from these, sometimes it can't start or is too slow, and it doesn't achieve the desired result. What I'm encountering now is that if this batch processing starts too slowly, it will be ended by some software, and then sometimes it can run and sometimes not. Which friend has a good way?

[ Last edited by wtp791211 on 2006-10-27 at 05:06 AM ]
Floor 12 Posted 2006-11-02 02:55 ·  中国 广东 东莞 电信
中级用户
★★
Credits 282
Posts 130
Joined 2006-09-20 22:25
19-year member
UID 63201
From 广东
Status Offline
Guys on floors 9 and 10, after you successfully brushed it, post the experience...
I'm also coming to brush...
~~~~好好学习
天天向上~~~~
Floor 13 Posted 2006-11-02 17:43 ·  中国 广西 柳州 融安县 电信
新手上路
Credits 6
Posts 2
Joined 2006-10-05 17:06
19-year member
UID 64621
Status Offline
Modify the value of BootExecute under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]

Inspired by the abnormal shutdown scan of XP. Not tested, return one if successful.
Floor 14 Posted 2006-11-03 04:33 ·  中国 黑龙江 牡丹江 中移铁通
初级用户
Credits 71
Posts 34
Joined 2006-09-15 02:15
19-year member
UID 62611
Status Offline
Originally posted by gxfc at 2006-10-22 13:32:
Cannot be started before the system. If the skin does not exist, where will the hair attach

Originally posted by lxmxn at 2006-10-22 14:02:

  This…………

  The system has not started yet, can you run your program?

Originally posted by electronixtar at 2006-10-23 02:53:
The landlord can brush a command and your batch processing into the BIOS by himself, ^_^



Despise!
Brush a command and your batch processing into the BIOS?
The command of the dos system is just a command interpreter, and it is just a program! The program that is prior to the command, the driver file, the binary file, etc., there are many, many........
Floor 15 Posted 2007-03-28 03:50 ·  中国 辽宁 丹东 振兴区 电信
初级用户
Credits 36
Posts 13
Joined 2007-01-13 04:24
19-year member
UID 76352
Gender Male
Status Offline
It's better to flash a system and enter your BIOS. Hehe.

Search online. I remember there was a software I found before that can run the program you specify when you can enter the system without inputting the username and password. It seems to be on the homepage of the author of the keyboard simulation software. Just SO it.
Forum Jump: