The following is quoted from tikan's post at 2003-6-28 16:09:22:
Today I used COPY to copy system files from a CD to the hard disk. I had never done that before, and unexpectedly found that IO.SYS MSDOS.SYS on the source disc were not copied to the target disk. When I tried to COPY these two files separately, it still didn't work, and it prompted “Access denied opening file IO.SYS MSDOS.SYS ”. Can someone help me!
This shows that these two files are on the hard disk, and their attributes are read-only, hidden, and system. There is no need to copy them from the CD to the hard disk anymore! If you want to check whether these two files are on the hard disk, you can use
1。dir/a This command can display files with all kinds of attributes.
2。attrib Without any parameters, it can display the attributes of each file.
Also, if the hard disk does not have these two files, it cannot boot from the hard disk. And simply copying these two files from the CD to the hard disk is no use either! You must use the sys command to transfer these two files to the hard disk! Because these two files (mainly IO.sys, I think) must be placed in some special place on the hard disk; putting them elsewhere is useless. And the SYS command can accurately transfer these two files to a specific place on the hard disk.
Of course, if when copying other files you run into “Access denied opening file”, you can use the above method and use attrib to change the file attributes first, then copy them.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器