![]() |
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 14:50 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Why can't IO.SYS and MSDOS.SYS be copied with COPY anymore? |
| Printable Version 3,034 / 21 |
| Floor1 tikan | Posted 2003-06-28 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
Today I used COPY to copy system files from a CD to the hard disk. I hadn't done this before, and unexpectedly found that IO.SYS and MSDOS.SYS on the source disk were not copied to the target disk. When I tried to COPY these two files separately, it still didn't work, and it said "Access denied opening file IO.SYS MSDOS.SYS". Can someone help me!
|
|
| Floor2 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
Use the ATTRIB -h -r -s command to change the file attributes and that'll do it~~
For example: to change the attributes of the msdos.sys file, just use this command ATTRIB -h -r -s c:\msdos.sys Then you can copy it~ |
|
| Floor3 tikan | Posted 2003-06-28 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
Thanks for the reply, but the system tells me I can't use ATTRIB, it's an external DOS command. Do I need to download this ATTRIB file????
|
|
| Floor4 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
Here, attrib is here, download it and use it~
Also, please don't post duplicate threads next time, it's annoying to look at~ Open attachment |
|
| Floor5 tikan | Posted 2003-06-28 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
Thanks
|
|
| Floor6 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
You're welcome...
|
|
| Floor7 minisheep | Posted 2003-06-28 00:00 |
| 高级用户 Posts 233 Credits 830 | |
| Floor8 如是大师 | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,351 Credits 9,654 From 湖北 | |
|
Hehe.... what's the use of copy?
|
|
| Floor9 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
He only said he wanted to copy files....
|
|
| Floor10 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
The following is quoted from tikan's post at 2003-6-28 16:09:22: 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. |
|
| Floor11 tikan | Posted 2003-06-28 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
ko20010214, I really have to thank you. Please explain how to use SYS—what is the exact format? Do I need to add the file name after SYS???
|
|
| Floor12 tikan | Posted 2003-06-28 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
ko20010214, I understand now, and I've already succeeded!!
Actually I'm installing a NEC PC9821 computer. I'm copying the system disk from the CD onto the hard disk. The machine's DOS is MS-DOS5.0A-H, a very unusual DOS version, and it's been giving me a headache. I'm also not very familiar with DOS, but after fiddling with it for a few days, I find that I'm starting to like DOS. Maybe I'll be asking you for advice again in the future! Hope you won't mind giving me some guidance! |
|
| Floor13 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
The following is quoted from tikan's post at 2003-6-28 21:16:46: NEC 9821?? That's really old?? Can you still buy one now?? |
|
| Floor14 Dark-Destroy | Posted 2003-06-28 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
I want one as a collectible....
|
|
| Floor15 tikan | Posted 2003-06-29 00:00 |
| 初级用户 Posts 23 Credits 218 | |
|
The 9821 really is old!
And now there's another problem. I also copied the PC9821-specific WIN98 system files onto the hard disk, and I handled IO.SYS and MSDOS.SYS the way everyone said. But after I rebooted, a new problem came up. After the memory check finished, DOS started booting. After the DOS version was shown, a line of Japanese appeared below. The rough meaning is that the DOS versions are different, so program writing was terminated. Then it hangs. Can anyone help me analyze what the reason is??? |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |