Reinstalling notepad in Win 2k SP4 professional

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have accidentaly deleted notepad.exe. How do I reinstall notepad from the win 2k CD. The reinstalation cd is provided by Dell. It has only notepad.dll and notepad.cfm files.

Thanks,
 
You should not have been able to do that. If you look in C:\WINNT\system32\dllcache you should find a compressed notepad.exe. You can put it back in both C:\WINNT and C:\WINNT\system32 by uncompressing it and pop it in thos folders. You uncompress the file like this:

C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\notepad.exe
C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\system32\notepad.exe
 
Thanks.
It Worked.

George Hester said:
You should not have been able to do that. If you look in C:\WINNT\system32\dllcache you should find a compressed notepad.exe. You can put it back in both C:\WINNT and C:\WINNT\system32 by uncompressing it and pop it in thos folders. You uncompress the file like this:

C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\notepad.exe
C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\system32\notepad.exe
 
George said:
You should not have been able to do that. If you look in C:\WINNT\system32\dllcache you should find a compressed notepad.exe. You can put it back in both C:\WINNT and C:\WINNT\system32 by uncompressing it and pop it in thos folders. You uncompress the file like this:

C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\notepad.exe
C:\WINNT\system32\dllcache>expand notepad.exe C:\WINNT\system32\notepad.exe
Hi

Note that the files in the dllcache folder is not compressed, so
you don't need to use the expand command on those files...
 
Hi Torgeir:

Yes I thought that might be the case. I have compressed files colored differently an option in Windows Explorer | Tools | Folder Options... | View. And all the files in dllcache are that color signifying compressed. So I thought better do it this way just in case. But thanks for pointing it out that it isn't necessary. No harm done using expand I hope.
 
George Hester said:
Yes I thought that might be the case. I have compressed files colored
differently an option in Windows Explorer | Tools | Folder Options... |
View. And all the files in dllcache are that color signifying compressed.
So I thought better do it this way just in case. But thanks for pointing
it out that it isn't necessary. No harm done using expand I hope.

The difference is that the files in the dllcache folder are compressed
using NTFS file compression and can be uncompressed by simply copying them
to another folder or by right-clicking on the file, selecting Properties,
General, Advanced, and de-selecting "Compress contents to save disk
space". It's actually not necessary to decompress such files because
Windows does it on the fly when the file is read. They're perfectly
usable in the compressed state.

The other type of compression is the kind that requires the use of expand
to make the file usable. Such files usually have modified extensions --
..ex_ instead of .exe for example. The files on in Win2K distribution CD
are mostly of this type.
 

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