How to replace the system file?

  • Thread starter Thread starter adrian
  • Start date Start date
A

adrian

Hi,
I saw from the book it said, the system files in the cdrom is in
compressed format, and when we copy that into the hard disk, it will
automatically uncompressed. So is the following command correct?
"copy hal.dl_ c:\windows\hal.dll"
But it doesn't seems to work, the OS still can't boot up, and just said
the file is missing or corrupt, why? Thx

Adrian
 
adrian said:
Hi,
I saw from the book it said, the system files in the cdrom is in
compressed format, and when we copy that into the hard disk, it will
automatically uncompressed. So is the following command correct?
"copy hal.dl_ c:\windows\hal.dll"
But it doesn't seems to work, the OS still can't boot up, and just said
the file is missing or corrupt, why? Thx

Adrian

You have copied a compressed file and never uncompressed it. Do you believe
everything you read in a book?
 
adrian;
Go to Help and support | Type: expand | ENTER
------------------------------------
Start | Run | Type: cmd | OK

Type or Copy and Paste >>>

expand d:\i386\hal.dl_ c:\Windows\system32\hal.dll

Hit the Enter key

** d: = your CD drive
** c: = your hard drive
** have your XP CD in your drive.
 
You got it just about right, Adrian. Instead of the COPY
command, use EXPAND. The DL_ extension (the underline for
the last character) indicates that the file is
compressed. The EXPAND command will uncompress it.

Have you seen Miscrosoft article 330184? If not, go here:

http://support.microsoft.com/default.aspx?scid=kb;
[LN];330184

Good luck!
 
The simplest way is to run "msconfig" and choose the "expand" button on the
"general" tab.
 
Admiral Q;
That works if the file you want to expand is in a .cab file.
 
Admiral Q;
That works if the file you want to expand is in a .cab file.
 
adrian said:
I saw from the book it said, the system files in the cdrom is in
compressed format, and when we copy that into the hard disk, it will
automatically uncompressed. So is the following command correct?
"copy hal.dl_ c:\windows\hal.dll"


DO NOT try to replace hal.dll.

The message at boot is because the boot.ini file is damaged, and boot is
looking in the wrong place for Windows files - hall.dll just happens to
be the first one it looks for.

Set the BIOS to boot CD before Hard Disk. Boot the XP CD and, instead
of Setup, take the immediate R for Repair. Assume any password
requested is blank, and TAB over.

Use:
ATTRIB -H -R -S C:\BOOOT.INI
DEL C:\BOOT.INI
BootCfg /Rebuild
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top