|
zjktxwd
初级用户
 
积分 193
发帖 20
注册 2003-4-9
状态 离线
|
『楼 主』:
[求助]win98如何判断前一次是否为非法关机的
使用 LLM 解释/回答一下
请问windows98/me/2000/xp,在启动时是如何判断前一次是否为非法关机的?然后才自检。
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?
|
|
2003-4-28 00:00 |
|
|
红色狂想
金牌会员
      龙哥DOS
积分 4289
发帖 1501
注册 2003-2-23 来自 河南省
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
这还不容易,有多种方法,例如在系统启动时,创建一临时文件,在执行关机程序时就自动删除他,如果是非法关机,如掉电等,系统就来不及执行关机程序,这样这个临时文件也就不能被删除,等系统再启动时,会检查是否有这个临时文件,如果有,就证明上次是非法关机,当前需要进行相应的处理……
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++ |
|
2003-4-28 00:00 |
|
|
Dark-Destroy
元老会员
        
积分 8312
发帖 3551
注册 2003-3-22
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
那豈不是跟MS OFFICE的作法是一樣
Then it's the same as the approach of MS OFFICE
|

MSN:tiqit2@hotmail.com
 |
|
2003-4-28 00:00 |
|
|
小灵儿
高级用户
   
积分 929
发帖 349
注册 2002-11-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我只知道如果WINDOWS2000
上一次是非法关机
那么这次启动的时候慢的厉害
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 |
|
2003-4-28 00:00 |
|
|
Dark-Destroy
元老会员
        
积分 8312
发帖 3551
注册 2003-3-22
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
WIN2000我不是很熟悉!
I'm not very familiar with WIN2000!
|

MSN:tiqit2@hotmail.com
 |
|
2003-4-28 00:00 |
|
|
langhua
银牌会员
    
积分 1225
发帖 461
注册 2002-10-22
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
实践出真知
要想知道的话,就的实践,非法关机次说多了,没准能看出来~~
呵呵~
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~
|
|
2003-4-28 00:00 |
|
|
Dark-Destroy
元老会员
        
积分 8312
发帖 3551
注册 2003-3-22
状态 离线
|
|
2003-4-29 00:00 |
|
|
zjktxwd
初级用户
 
积分 193
发帖 20
注册 2003-4-9
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
hehe,楼上的说的对,也许是那样,就是因为我不知道才问的吗?
具体是怎么回事?
请问2楼的,到底是那个文件?
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?
|
|
2003-4-29 00:00 |
|
|
红色狂想
金牌会员
      龙哥DOS
积分 4289
发帖 1501
注册 2003-2-23 来自 河南省
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我想知道是那个文件的人很少,只有微软最清楚,毕竟视窗Windows是一个庞大的系统。
对了,zjktxwd,你到底问这个做什么呀?
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++ |
|
2003-4-29 00:00 |
|
|
zjktxwd
初级用户
 
积分 193
发帖 20
注册 2003-4-9
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
我这儿有台机子,c盘用联想的硬盘保护卡保护了,(即重启后c盘恢复)我想既然如此,每次开机c盘都一样
但有时会出现windows自检画面,满奇怪的。
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.
|
|
2003-4-29 00:00 |
|
|
pfox
银牌会员
    
积分 1451
发帖 446
注册 2002-10-20
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我觉得可能是记录在硬盘的什么地方,应该不是记录在那个文件,因为我安装
多个操作系统,在一次XP异常关机后,在另一个分区安装一个新的XP的过程,
出现错误,提示上次没有正常关机或者硬件出现问题之类的提示,在进入原XP
进行扫描后,再到新分区安装新系统则可以正常安装,所以我怀疑是记录在硬盘
里面而不是记录在那个文件的。
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.
|

我的下载空间 |
|
2003-4-29 00:00 |
|
|
红色狂想
金牌会员
      龙哥DOS
积分 4289
发帖 1501
注册 2003-2-23 来自 河南省
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
如果出现windows自检画面你关闭他不的了?
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++ |
|
2003-4-29 00:00 |
|
|
Dark-Destroy
元老会员
        
积分 8312
发帖 3551
注册 2003-3-22
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
保護卡用的技術是硬碟映射法,簡單的說,就是建立一個虛擬磁盤
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
 |
|
2003-4-29 00:00 |
|
|
playboy2925
银牌会员
     想當一人之下萬人之上
积分 1275
发帖 393
注册 2003-1-10
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
还有一种呢,就是上一次非法关机,再用光盘启动,格式化后重装系统的第一次重启也要自检的。
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不错的话,给朵鲜花我就知道了。:)
|
|
2003-5-4 00:00 |
|
|
pfox
银牌会员
    
积分 1451
发帖 446
注册 2002-10-20
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
所以我觉得应该是记录在引导区或者硬盘上的什么地方,而不是记录在文件。
So I think it should be recorded in the boot sector or somewhere on the hard disk, not in a file.
|

我的下载空间 |
|
2003-5-4 00:00 |
|