中国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-12 22:48
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Expert, could you explain this small question?
Printable Version  639 / 2
Floor1 xiaojun Posted 2003-07-06 00:00
银牌会员 Posts 499 Credits 2,202
This is the Autoexec.bat (regedit) from Cai Tuzi's backup. I can understand that it uses Attrib to change the attributes of my original registry, and then uses copy to restore it. What I don't understand is why it adds this at the top: @ECHO OFF In the .bat files I made, I put in the full path of the antivirus software, and when I put them on the boot disk they also start the antivirus, but there is no @ECHO OFF.


@ECHO OFF
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\SYSTEM.DAT
COPY C:\WINDOWS\MAGICSET\SYSTEM.DA C:\WINDOWS\SYSTEM.DAT /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\SYSTEM.INI
COPY C:\WINDOWS\MAGICSET\SYSTEM.IN C:\WINDOWS\SYSTEM.INI /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\USER.DAT
COPY C:\WINDOWS\MAGICSET\USER.DA C:\WINDOWS\USER.DAT /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\WIN.INI
COPY C:\WINDOWS\MAGICSET\WIN.IN C:\WINDOWS\WIN.INI /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\CLASSES.DAT
COPY C:\WINDOWS\MAGICSET\CLASSES.DA C:\WINDOWS\CLASSES.DAT /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\CONTROL.INI
COPY C:\WINDOWS\MAGICSET\CONTROL.IN C:\WINDOWS\CONTROL.INI /Y
C:\WINDOWS\COMMAND\ATTRIB -R -H -S C:\WINDOWS\WIN.COM
COPY C:\WINDOWS\MAGICSET\WIN.CO C:\WINDOWS\WIN.COM /Y
Floor2 如是大师 Posted 2003-07-06 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Ah~ this has no real significance, it just turns off the screen display...
Floor3 xiaojun Posted 2003-07-06 00:00
银牌会员 Posts 499 Credits 2,202
Oh, many thanks, expert!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023