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-07 13:42
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Essential for bare metal, virus immunity package (updated on October 1, 2007) View 3,866 Replies 37
Floor 16 Posted 2007-09-21 16:11 ·  中国 广东 东莞 电信
初级用户
Credits 32
Posts 17
Joined 2007-09-21 14:17
18-year member
UID 97962
Gender Male
Status Offline
Floor 17 Posted 2007-09-21 20:59 ·  法国 奥弗涅-罗讷-阿尔卑斯 里昂大都会 里昂
高级用户
★★
Credits 783
Posts 268
Joined 2006-12-26 17:18
19-year member
UID 74627
Gender Male
Status Offline
If the list of suspicious files in article P can be made into a form, and then the registry search and file search commands are used to search the local machine's files and registry according to the form, and the found suspicious file names are displayed or a report is generated. This can not only avoid modification of the registry but also reduce the generation of junk files
菩提本无树,明镜亦非台,本来无一物,何处惹尘埃.
Floor 18 Posted 2007-09-21 22:13 ·  中国 广东 佛山 电信
初级用户
Credits 66
Posts 26
Joined 2007-02-03 11:11
19-year member
UID 78522
Gender Male
Status Offline
The elder upstairs, I don't quite understand what you mean.
My main purpose of this immunity package is to prevent getting poisoned, not to facilitate antivirus after being poisoned.
As for whether adding registry defense will make the registry bloated and affect the machine performance, I think it should not.
Because there are very few registry entries, unless it is a malignant full-disk infection type like Panda. And for empty folders, I think it should not affect the system performance either.
Floor 19 Posted 2007-09-25 20:58 ·  中国 江苏 南京 电信
初级用户
★★
Batchs上議院參議長
Credits 199
Posts 105
Joined 2007-06-05 12:00
19-year member
UID 90300
Gender Male
From 江苏
Status Offline
The landlord should consider using the for statement. Things like temp, system32, and other batch labels are completely needed.

I'll give an example. The batch label ProgramFiles section:

cd /d %ProgramFiles%
set id=0

:loop
for %%i in ( %systemroot%\system32 ) do (
md pro%id%.exe&&echo y|cacls %%i\pro%id%.exe /d everyone&&attrib +s +h +r %%i\pro%id%.exe
set /a id=+1
if %id%=19 goto eof
goto loop
)
The code hasn't been tested, but I think there's no need to write so many garbage files (folders) to %systemroot%\system32 in batch processing.

[ Last edited by koala on 2007-10-1 at 08:57 PM ]
『生如夏花之绚烂
死若秋叶之静美』 dos做到了
Floor 20 Posted 2007-10-01 03:12 ·  中国 广东 佛山 电信
初级用户
Credits 66
Posts 26
Joined 2007-02-03 11:11
19-year member
UID 78522
Gender Male
Status Offline
Bump it myself. ......
Floor 21 Posted 2007-10-01 20:58 ·  中国 江苏 南京 电信
初级用户
★★
Batchs上議院參議長
Credits 199
Posts 105
Joined 2007-06-05 12:00
19-year member
UID 90300
Gender Male
From 江苏
Status Offline
Please clarify your request. You just said "定一下,下载个" which is rather incomplete. Please provide the full context or clarify what exactly needs to be translated or what the complete content is.
『生如夏花之绚烂
死若秋叶之静美』 dos做到了
Floor 22 Posted 2007-10-01 21:00 ·  中国 江苏 南京 电信
初级用户
★★
Batchs上議院參議長
Credits 199
Posts 105
Joined 2007-06-05 12:00
19-year member
UID 90300
Gender Male
From 江苏
Status Offline
『生如夏花之绚烂
死若秋叶之静美』 dos做到了
Floor 23 Posted 2007-10-05 21:10 ·  中国 广东 惠州 电信
新手上路
Credits 12
Posts 6
Joined 2007-10-05 20:13
18-year member
UID 98978
Gender Male
Status Offline
Floor 24 Posted 2007-10-13 21:08 ·  中国 江苏 南京 电信
初级用户
★★
Batchs上議院參議長
Credits 199
Posts 105
Joined 2007-06-05 12:00
19-year member
UID 90300
Gender Male
From 江苏
Status Offline
The post of the brother has sunk! Update oh
『生如夏花之绚烂
死若秋叶之静美』 dos做到了
Floor 25 Posted 2007-10-18 22:30 ·  中国 山东 青岛 联通
初级用户
★★
Credits 146
Posts 86
Joined 2007-10-01 11:27
18-year member
UID 98691
Gender Male
Status Offline
The compressed package is damaged and has issues.
Floor 26 Posted 2007-10-19 09:33 ·  中国 台湾 中华电信(HiNet)数据中心
初级用户
Credits 83
Posts 34
Joined 2007-10-14 13:49
18-year member
UID 99713
Gender Male
Status Offline
Downloaded, can't open, file is corrupted
Floor 27 Posted 2007-10-29 01:57 ·  中国 广西 贵港 电信
新手上路
Credits 10
Posts 4
Joined 2007-10-26 01:24
18-year member
UID 100800
Gender Male
Status Offline
Collected, a classic!
Floor 28 Posted 2007-10-29 03:03 ·  中国 江苏 苏州 电信
新手上路
Credits 18
Posts 9
Joined 2007-10-05 08:54
18-year member
UID 98935
Gender Male
Status Offline
Dealing with mirror hijacking, it seems this trick is enough. Just set the permissions properly, no need to delete.

echo Windows Registry Editor Version 5.00>a.reg

echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options]>>a.reg
regedit /s a.reg
@del a.reg
CMDHelp——求学者
Floor 29 Posted 2007-10-29 09:18 ·  中国 浙江 温州 瑞安市 联通
新手上路
Credits 18
Posts 8
Joined 2007-03-22 04:54
19-year member
UID 82521
Gender Male
Status Offline
Oh, what's going on? The one I downloaded doesn't work??? Both times I downloaded it, it couldn't be extracted. End error~~~~~
Floor 30 Posted 2007-10-29 13:49 ·  中国 江苏 苏州 电信
新手上路
Credits 5
Posts 3
Joined 2007-10-25 13:52
18-year member
UID 100741
Gender Male
Status Offline
Forum Jump: