![]() |
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-14 03:57 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Why can't I delete hidden files under DOS? |
| Printable Version 1,830 / 2 |
| Floor1 cxqdos | Posted 2004-12-04 00:00 |
| 初级用户 Posts 2 Credits 109 | |
|
Here's how things went. I had a machine originally with a Windows 98 system (on drive C), and later I installed a Windows XP system additionally (on drive D). Then I noticed that when using XP, the speed was extremely slow, so I wanted to uninstall XP. I went into 98 and formatted drive D. But when booting up, there was still a choice for two systems. XP couldn't be entered anymore. I wanted to remove the option to enter XP. And I thought of doing it like this:
1. Boot the system with a Windows 98 boot disk. 2. Del C:\boot*.* // Delete all files starting with boot 3. Del C:\nt*.* // Delete all files starting with nt 4. Del C:\hiberfile.sys // Delete the hibernation file 5. Del C:\pagefile.sys // Delete the paging file 6. Sys C: // Transfer Windows 98 system files 7. Finally, enter the command "Fdisk /mbr" at the command prompt and press Enter. But when I used dir to check the files in C:, I found they were all hidden files, and when I used dir/a, I could see them. When I ran del c:boot*.*, it prompted that the file was not found. The above steps 1 - 5 all prompted that the file was not found. May I ask how to delete these files? Besides, please teach me if there's a better way to delete XP? (I found on the Internet saying to use the 98 boot disk, boot up and then run format -ur, but it prompted: parameter format not correct - -ur. Also, using Super Rabbit, but it didn't work. Also, the method I don't want to do, format drive C and repartition.) Hope everyone can give more support. |
|
| Floor2 autoit | Posted 2004-12-04 00:00 |
| 系统支持 Posts 339 Credits 904 From 厦门 | |
|
The files in drive C that don't need to be deleted. Just do SYS c: and if you want, do fdisk /mbr to cut off XP, then delete the XP files in drive D. If you really need to delete, why not delete in Windows 98? Under DOS, to delete, you need to first remove its attributes: c:
attrib -s -h -r boot*.* del boot*.* |
|
| Floor3 chujiafu | Posted 2004-12-17 00:00 |
| 银牌会员 Posts 595 Credits 1,339 From 安徽 宿州 | |
|
What the moderator said is right. First, we need to remove the hidden attributes of these files.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |