Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need to find and delete the ShellIconCache in dos but am unsure how to do this,not a complete novice but need to know exactly how to do this. many thanks

If your starting from windows
Start / run / command, to get to the command prompt then
c:\
dir shelliconcache /s
cd (use the path the DIR command lists)
del shelliconcache.* ( will delete everything with the shelliconchche filename.something to be aware of is the filename syntax between windows and DOS.
DOS will probably displat the full filename but issuing a CD or DEL command will require a syntax adjustment.
windows in DOS
shelliconcache.* = Shelli~1.*if there is more than one filename like shellicon this happens
windows in DOS
shelliconcache.* = Shelli~2.* etc.it's a pain but that's how MS resolved the filename.ext syntax to allow long filenames in windows.

One can delete shelliconcache in windows - "show hidden files" must be turned on..or just Find>Files, then delete, and reboot.

The above suggestions should work. But just for info you can type the following in DOS:
del c:\windows\shelli~1
or
del "c:\windows\shelliconcache"

Hi tmg, hi everyone,From Windows Explorer:
- Tools/Folder Options/View tab/tick "All files"/OK
- go to and select C:\Windows\ShellIconCache (left pane)
- click on an empty part on right pane
- [Ctrl]-A to select everything
- [Delete] and confirmHTH
Have a good day,
Gérard from Paris, France

It depends which DOS you are talking about.
If you mean MS-DOS prompt then fine you can use the full file name. But this is no different from doing it from Windows Explorer so I can't see the point.What I assume you are trying to do is delete it from true DOS. In which case, one method is to Shut Down and Restart in MS-DOS which will take you to c:\windows
You then type del shelli~1 because long file names will not work from true DOS.
As you probably know Shelliconcache is for storing your icon arrangements so that they don't take ages to build when you boot up.
Some folk have machines that are reluctant to rebuild this file after it has been removed.May I ask why you want to delete it and what you are trying to fix? There are various methods of fixing this file if it's dud (including the rather unreliable methods that MS suggest).
Derek

wow, thanks guys. Just to clarify, friends win95 worked then didnt. Boots as far as the desktop where all the icons are corrupt and nothing will open. I cant fix the shelliconcache in windows explorer as its not available. So i'm trying to delete it in dos from a boot disk (not win95 but 98 boot disk!No installation disks brought with it) Now I can get into dos and have a few commands but dont know which to use,
1) DEL[C:][Windows]ShellIconCache[/P]
2) from C:\Windows DEL ShellIconCache
or
from C:\
scanreg/restore and then choose the last time it booted properly
or
from windows select START then RUN and type
SETUP/P
to fix?
hope this clarifies what i'm trying to do, but it maynot be that at all, all help really appreciated

Hi tmg, Derek, hi everyone,You want to do oodles of things! ;-)
First of all:
>from C:\
>scanreg/restore and then choose the last
>time it booted properly
AFAIK, scanreg doesn't exist in Ws95!>from windows select START then RUN and type
>SETUP/P
>to fix?
This has to be done when nothing else works!Solution 2) is similar to solution 1)
>1) DEL[C:][Windows]ShellIconCache[/P]
Let's do this:
- boot your comp with the bootdisk mounted
- from the Dos prompt, type
DEL C:\Windows\ShellI~1
(ShellI~1 is the Dos name of ShellIconCache... limited to 8 characters; 6 char. plus ~1)
confirm deletion by Y
- put the floppy out and reboot the computerThat's it!
Post back!Have a good day,
Gérard from Paris, France

thanks peeps (+ gerard) taken all on board gonna have a go later will let you know. THIS IS A GREAT FORUM MANY THANKS, FROM A FORUM JUNKIE.

thanks all for your help but its not happening. Problems are bigger than I thought. On loading now there is an error in the boot
memory test failed!!!!!
...been on the comp for the last 48 hours trying to sort it out and the weather is too good to be inside anymore, gonna leave it now for the owners to sort.THANK YOU EVERYONE FOR ALL YOUR HELP, you've all been great. be seeing you again soon.

Wow. Looks like you might have a bad RAM stick (that can cause all sorts of problems).
Maybe taking sticks out or swapping might prove something. Clean edge connectors with a soft eraser and then brush away any bits of eraser (even those you can't see) with an artists paint brush.
Derek

Hi tmg, Derek, hi everyone,>May I ask why you want to delete it and
>what you are trying to fix?
Derek was quite right to ask what symtoms were... good point Derek!>Clean edge connectors with a soft eraser
Derek, why didn't you use British English words? LOL would have been surprising! ;-)Have a good day,
Gérard from Paris, France

Gérard
> British English words
Aha, took me a few secs to get the subtlety of your drift LOL.
We'll just leave it as pencil eraser to avoid any confusion.
Derek

thanks guys for all your responses. Tried eveerything I know but my knowlegde stops...but the kids have continued to try to fix the problem(!!!!!) and made it worse so at this point i've no idea what they have done, but sure they fiddled with the set up too!!blow it not gonna waste anymore of your time chasing a problem that the kids make worse.Thanks guys hope I can give a little back to others now and again

![]() |
can not run setup files
|
modem [us robotics] inte...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |