Computing.Net > Forums > Windows 95/98 > find and delete in dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

find and delete in dos

Reply to Message Icon

Name: tmg
Date: August 5, 2003 at 07:29:27 Pacific
OS: win 95
CPU/Ram: low
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Vidda
Date: August 5, 2003 at 07:43:48 Pacific
Reply:

What keeps you from doing this exactly? What file is ShellIconCache and where is it?


0

Response Number 2
Name: RayMan
Date: August 5, 2003 at 07:46:36 Pacific
Reply:

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.


0

Response Number 3
Name: dave01
Date: August 5, 2003 at 08:12:44 Pacific
Reply:

This will delete shelliconcache, along with index.dat files.
Delindex.bat


0

Response Number 4
Name: tommymoore
Date: August 5, 2003 at 08:45:41 Pacific
Reply:

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


0

Response Number 5
Name: mark
Date: August 5, 2003 at 10:44:48 Pacific
Reply:

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"


0

Related Posts

See More



Response Number 6
Name: Frenchie
Date: August 5, 2003 at 10:47:53 Pacific
Reply:


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 confirm

HTH

Have a good day,
Gérard from Paris, France


0

Response Number 7
Name: Derek
Date: August 5, 2003 at 13:27:30 Pacific
Reply:

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


0

Response Number 8
Name: tmg
Date: August 6, 2003 at 00:25:44 Pacific
Reply:

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


0

Response Number 9
Name: Frenchie
Date: August 6, 2003 at 02:28:20 Pacific
Reply:


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 computer

That's it!
Post back!

Have a good day,
Gérard from Paris, France


0

Response Number 10
Name: tmg
Date: August 6, 2003 at 07:41:02 Pacific
Reply:

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.


0

Response Number 11
Name: tmg
Date: August 6, 2003 at 09:30:06 Pacific
Reply:

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.


0

Response Number 12
Name: Derek
Date: August 6, 2003 at 10:13:11 Pacific
Reply:

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


0

Response Number 13
Name: Frenchie
Date: August 6, 2003 at 12:29:26 Pacific
Reply:


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


0

Response Number 14
Name: Derek
Date: August 6, 2003 at 15:28:26 Pacific
Reply:

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


0

Response Number 15
Name: tmg
Date: August 7, 2003 at 00:59:29 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

can not run setup files modem [us robotics] inte...



Post Locked

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


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: find and delete in dos

deleting in dos mode? www.computing.net/answers/windows-95/deleting-in-dos-mode/148557.html

Can't close down and open in DOS www.computing.net/answers/windows-95/cant-close-down-and-open-in-dos/153572.html

finding my briefcase in DOS www.computing.net/answers/windows-95/finding-my-briefcase-in-dos/143302.html