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-25 17:08
中国DOS联盟论坛 » 其它操作系统综合讨论区 » [Help]How does Windows 98 determine if the previous shutdown was an improper shutdown? View 3,224 Replies 17
Original Poster Posted 2003-04-28 00:00 ·  中国 教育网
初级用户
Credits 193
Posts 20
Joined 2003-04-09 00:00
23-year member
UID 1446
Gender Male
Status Offline
May I ask how Windows 98/ME/2000/XP determine whether the previous shutdown was an illegal shutdown when booting, and then perform the self-check?
Floor 2 Posted 2003-04-28 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
This is not difficult. There are multiple methods. For example, when the system starts, create a temporary file. When the shutdown program is executed, it will automatically delete it. If it is an illegal shutdown, such as power failure, etc., the system doesn't have time to execute the shutdown program, so this temporary file can't be deleted. When the system restarts again, it will check whether this temporary file exists. If it exists, it proves that the last time was an illegal shutdown, and corresponding processing is needed at present...
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 3 Posted 2003-04-28 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Then it's the same as the approach of MS OFFICE
MSN:tiqit2@hotmail.com
Floor 4 Posted 2003-04-28 00:00 ·  中国 天津 鹏博士宽带
高级用户
★★★
Credits 929
Posts 349
Joined 2002-11-23 00:00
23-year member
UID 315
Gender Female
Status Offline
I only know that if there was an illegal shutdown on WINDOWS2000 last time, then the startup this time is extremely slow
“小灵儿空间一辈子”正在后期制作中,请大家参观!
http://cometolinger.yeah.net
Floor 5 Posted 2003-04-28 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
I'm not very familiar with WIN2000!
MSN:tiqit2@hotmail.com
Floor 6 Posted 2003-04-28 00:00 ·  中国 北京 北京畅捷科技有限公司联通节点
银牌会员
★★★
Credits 1,225
Posts 461
Joined 2002-10-22 00:00
23-year member
UID 39
Gender Male
Status Offline
Practice makes perfect.
If you want to know, you have to practice. If you power off illegally many times, maybe you can find out~~
Hehe~
Floor 7 Posted 2003-04-29 00:00 ·  中国 台湾 桃园市 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Probably!!
MSN:tiqit2@hotmail.com
Floor 8 Posted 2003-04-29 00:00 ·  中国 教育网
初级用户
Credits 193
Posts 20
Joined 2003-04-09 00:00
23-year member
UID 1446
Gender Male
Status Offline
hehe, what the person above said is right, maybe it's like that, just because I don't know so I'm asking?
What exactly is going on?
May I ask the person on the 2nd floor, which file exactly is it?
Floor 9 Posted 2003-04-29 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
The people who know which file are very few, only Microsoft knows best, after all, Windows is a huge system. By the way, zjktxwd, what on earth are you asking this for?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 10 Posted 2003-04-29 00:00 ·  中国 教育网
初级用户
Credits 193
Posts 20
Joined 2003-04-09 00:00
23-year member
UID 1446
Gender Male
Status Offline
I have a machine here, and the C drive is protected by Lenovo's hard disk protection card (that is, the C drive restores after restart). I think since that's the case, the C drive is the same every time I start the computer. But sometimes the Windows self-check screen appears, which is quite strange.
Floor 11 Posted 2003-04-29 00:00 ·  中国 广东 汕头 电信
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
I think it might be recorded somewhere on the hard disk. It shouldn't be recorded in that file because I installed multiple operating systems. After an abnormal shutdown of XP once, an error occurred during the process of installing a new XP in another partition, prompting something like a previous abnormal shutdown or hardware problem. After scanning in the original XP and then installing the new system in the new partition, it could be installed normally. So I suspect it's recorded in the hard disk rather than in that file.
Floor 12 Posted 2003-04-29 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
If there is a Windows self-test screen, can't you turn it off?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 13 Posted 2003-04-29 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
The technology used by the protection card is hard disk mapping method. Simply put, it is to create a virtual disk
MSN:tiqit2@hotmail.com
Floor 14 Posted 2003-05-04 00:00 ·  中国 吉林 吉林市 中移铁通
银牌会员
★★★
想當一人之下萬人之上
Credits 1,275
Posts 393
Joined 2003-01-10 00:00
23-year member
UID 717
Gender Male
Status Offline
There is another situation: the first restart after reinstalling the system by formatting with CD boot after an illegal shutdown last time also requires self-check.
<- 刷新一下换个MM
叫我Jorkin或小p就行,别再叫playboy2925了,跟提犯人似的。
如果认为小弟发的logo不错的话,给朵鲜花我就知道了。:)
Floor 15 Posted 2003-05-04 00:00 ·  中国 广东 汕头 电信
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
So I think it should be recorded in the boot sector or somewhere on the hard disk, not in a file.
Forum Jump: