Computing.Net > Forums > Windows Me > ** New DELINDEX.BAT for index.dat files

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.

** New DELINDEX.BAT for index.dat files

Reply to Message Icon

Name: Renaissance Man
Date: March 16, 2002 at 21:08:37 Pacific
Comment:

*** New St. Patrick’s Day Version of DELINDEX

DELINDEX is a DOS batch file that was originally created just to delete Index.dat files that contain ALL your web surfing history since they were (re)created. Here are 3 reasons to delete them: (1) They are never resized, and only get bigger. (2) Large index.dat files can cause performance problems when browsing. (3) To protect your privacy, so others cannot see where you’ve been on the Internet. (You’ll have to delete other files as well; some information is also stored in the registry about where you’ve been.)

Index.dat files are hidden, don't show up in searches (in Windows or DOS) and CANNOT be deleted when Explorer is running. DELINDEX was expanded in a version dated 2/14/02 to delete other files; notes and options were added as well. Unless you edit DELINDEX.BAT, these are your only options: delete the 4 Index.dat files and files in the C:\ (and C:\Windows\)Temp folders (the "LESS" option); OR delete those files and ALL these files/folders which are either unnecessary and/or are recreated by Windows (the "MORE" option):
* C:\Windows\Cookies (folder)
* C:\Windows\[Locals~1\]Temporary Internet Files (contents, except the Google
toolbar)
* C:\Windows\History (folder)
* C:\Windows\Windows Update (contents, except for the history log)
* C:\[My Documents\]My Pictures\Thumbs.db
* C:\Windows\ShellIconCache

***IMPORTANT NOTE ABOUT IDs & PASSWORDS: Previously I thought deleting only the index.dat files and not the cookies themselves would preserve your IDs and passwords. Wrong! The index.dat file IS an index, and even though it may have thousands of listings for cookies that no longer exist, it is necessary for Explorer to locate the cookies that do exist. So, whether you use the LESS option or the MORE option, you will lose the ability to just go into sites (that require IDs and passwords) without signing in. If you delete the index, you might as well delete the cookies, since they can no longer function.
***Record IDs and passwords BEFORE using DELINDEX!***

============================================================

Look here for the original DELINDEX post and discussion.

More on DELINDEX here, and the rationale for deleting some of the files.

*** NEW FEATURES ADDED IN THE MARCH 17, 2002 VERSION ***

•1. A display of free space before and after DELINDEX is run (with the MORE option only).

•2. More of the previously internal notes are displayed when you pick the “Additional Notes” option. (There are still some internal notes that can only be seen using the “View” option.)

•3. An “ADD” option that puts lines in the autoexec.bat file on your StartUp Disk to give you the option (every time you boot with the StartUp Disk) to run DELINDEX with NO options, the “MORE” option, the “LESS” option, or NOT to run it at all. This eliminates the need to do any editing of a:\autoexec.bat. The ADD option also loads Doskey. (This info was in the previous version as notes, so it was easy to convert the notes into this option.)

•4. Deletes copies (and backups) of the registry labeled “bad” if they exist. Sometimes using Scanreg /opt and/or Scanreg /fix (or ScanregW with the same
switches) can result in new copies of the registry being created, and the old ones being labeled classes.bad and/or user.bad and/or system.bad. Under some circumstances (?) a registry backup can also be labeled rbbad.cab. Any “bad” registry copies are now deleted with the MORE option.

•5. Some notes were corrected, revised and/or added, some code cleaned up, and there’s less regard to limit line length to 78 characters, which makes some displays nicer, and some code simpler. (That does make a few lines wrap in the view option.)

This version is more than a hundred lines longer than the one posted 2/14/02. I’m almost embarrassed by that; but what makes DELINDEX what it is are the notes, the explanations, and the options. Whether you have 8 or 16KB clusters, this version still doesn’t take up any more space than the previous one.

Except for the display of free space, you really won’t SEE any difference between the 2/14/02 and the 3/17/02 versions.

============================================================

*** GETTING DELINDEX ***

I was not going to post the actual code, since it is available for viewing and download from here: http://briefcase.yahoo.com/delindex. However, on March 25, Yahoo will discontinue public access to briefcases unless you have a Yahoo! ID. So you can look at the code and download it from there until March 25th.

So, unless somebody beats me to it, the first response to this post will be the code. That way you can look at it, even though it will not display correctly. There may be some problems:
• This version uses ascii drawing characters (which look nicer) but do not show up correctly on Computing.net. I do not know if you cut and paste if they will translate correctly.
• Since I did not intend to post the actual code on this forum, some of the lines are now longer than 80 characters (previously, I limited them to 78 characters). I don’t know if that will cause problems if you cut and paste.

SMUOD:) will post DELINDEX at his website. I’m grateful that he’s making it possible for people to get easy access to DELINDEX. Since the files are not yet available (as of this post) on his site, I’ll let SMUOD:) post a response about when, and where you can get it from “BURZURQ.”

Enjoy the new DELINDEX!

============================================================

I’m more than happy to explain DELINDEX, but most of that has been done in prior posts (“Why did [or didn’t] you...,” “I think you should [or shouldn’t] have...,” yada, yada, yada). Deleting the index.dat files is simple. The ideas for deleting other files have been collected from this forum, PC World, other “cleanup” utilities, and my own experience. All this batch file does is to give you notes and options, and to combine a whole lot of things into one convenient package. NO WHINING, PLEASE! I’m not going to defend DELINDEX. If you do not like the batch file, modify it. Or don’t download it. If you have questions that are NOT covered in (WinME) posts 19918 or 20337, please post them here and I’ll gladly answer them as best I can. If you post the same questions, I’ll leave them for others to answer. Of course I welcome suggestions to improve DELINDEX.

Should there be any problems with this version, please post back here (on this thread) ASAP; if there’s a problem with the batch file, I’ll fix it immediately. I’ve been using this new version on my system for more than two weeks now, with no problem.

============================================================

For information on Index.dat files, look at these posts:
95/104366
ME/20164
ME/19944

FYI:
DELINDEX; less than 16KB; free; requires StartUp Disk
Wash from 12 Ghosts; 600KB; $13
History Kill; 1.77MB; $40; memory resident
Cache and Cookie Washer; 1.4MB; $15
Window Washer, 1.4MB, $30
Spider; 635KB; free; (It reads index.dat files very well, but on my system it only deletes the one in the cookies folder.)



Sponsored Link
Ads by Google

Response Number 1
Name: Renaissance Man
Date: March 16, 2002 at 21:11:12 Pacific
Reply:

:: ╔═══════════════════════════╗
:: ║ WELCOME to Delindex.bat! ║
:: ╚═══════════════════════════╝
@echo off
:: This just makes the program run faster:
c:\windows\smartdrv.exe 2048 16>nul
cls
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DELINDEX.BAT ♣ Last Revised 3/17/2002 ♣ Written by Renaissance Man ║
echo ╚══════════════════════════════════════════════════════════════════════╝
if not "%1"=="" echo.
if "%1"=="more" goto MORE
if "%1"=="MORE" goto MORE
if "%1"=="less" goto LESS
if "%1"=="LESS" goto LESS
if "%1"=="add" goto ADD
if "%1"=="ADD" goto ADD
echo DELINDEX.BAT deletes Index.dat files which are never resized, and only get
echo bigger. These files contain ALL your web surfing history since they were
echo last (re)created, and large index.dat files can cause performance issues
echo with browsing. Index.dat files CANNOT be deleted if Explorer is running.
echo.
echo ▸ In Windows 98, you must choose "Reboot into DOS mode."
echo ▸ In Windows Millennium Edition, you must boot up with a StartUp
echo disk; select #3, Start Computer Without CD-ROM support.
echo.
echo DELINDEX gives you a choice of LESS or MORE aggressive versions.
echo ▸ The LESS option deletes Index.dat files & files in TEMP folders.
echo ▸ The MORE option also deletes other unnecessary files.
echo.
echo WARNING! ▸ Whether you use the LESS option or the MORE option, you will lose
echo the ability to just go into sites (that require IDs and passwords)
echo without signing in. Record IDs and passwords BEFORE using DELINDEX!
echo ▸ If you lost your ability to download, you probably ran the MORE
echo option with Windows running. To fix, just reboot.
:: Previously I thought that deleting only the index.dat files and not the
:: cookies themselves would preserve IDs and passwords. Wrong! The index.dat
:: file IS an index, and even though it may have thousands of listings for
:: cookies that no longer exist, it is necessary for Explorer to locate the
:: cookies that do exist. If you delete the index, you might as well delete
:: the cookies, since they can no longer function.
echo.
echo TO RUN DELINDEX: Enter L for the LESS option or M for the MORE option.
echo OTHER CHOICES: Enter A for ADDITIONAL notes, V to VIEW the entire contents
choice /n/c:mlavq/t:q,99 " of this program, or Q to QUIT. Enter L,M,A,V,Q: "
cls
if errorlevel 5 goto EXIT
if errorlevel 4 goto VIEW
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DELINDEX.BAT ♣ Last Revised 3/17/2002 ♣ Written by Renaissance Man ║
echo ╚══════════════════════════════════════════════════════════════════════╝
if errorlevel 3 goto NOTES
echo.
if errorlevel 2 goto LESS
::
::
:MORE
::
:: COOKIES and TEMPORARY INTERNET FILES are deleted because they can contain
:: adware & spyware, applets that report your surfing habits back to websites.
:: And you may have hundreds of cookies for sites you'll never visit again.
:: Some people have tens of thousands of files in the Temporary Internet Files
:: folder, a known cause of browsing problems. Here's how to keep them from
:: building up: in Internet Explorer, click on Tools/Internet Options; on the
:: Advanced tab make sure there's a check in the box next to "Empty Temporary
:: Internet Files folder when browser is closed," click on Apply and OK.
::
echo.
echo FREE SPACE BEFORE DELNDEX:>c:\B4&after
ctty nul
dir c:\asdfghjk | find "free">>c:\B4&after
ctty con
echo FREE SPACE AFTER DELINDEX:>>c:\B4&after
::
deltree /y c:\history
deltree /y c:\windows\cookies
::
:: TESTS for presence of GOOGLE TOOLBAR.
:: Add other files here (e.g., for PC Pitstop)
if not exist c:\windows\downlo~1\google*.* deltree /y c:\windows\downlo~1\
if not exist c:\windows\downlo~1\google*.* goto CONTINUE
attrib -h c:\windows\downlo~1\*.*>nul
attrib -r c:\windows\downlo~1\*.*>nul
attrib +r c:\windows\downlo~1\google*.*>nul
if not exist c:\DELYES! echo *** Press Y and then press Enter ***
if not exist c:\DELYES! del c:\windows\downlo~1\*.*>nul
if exist c:\DELYES! del c:\windows\downlo~1\*.*<c:\DELYES!>nul
echo ▸ Any "access denied" message means that special files weren't deleted.
attrib -r c:\windows\downlo~1\google*.*
:CONTINUE
deltree /y c:\windows\history
deltree /y c:\windows\recent
deltree /y c:\windows\tempor~1
if exist c:\windows\locals~1\tempor~1 deltree /y windows\locals~1\tempor~1\
::
::
:: The next 3 lines delete the contents of the Windows Update folder except
:: the wuhistv3.log (Windows Update history log). See MS KB article Q193385.
::
if exist c:\progra~1\window~2\wuhistv3.log move /y c:\progra~1\window~2\wuhistv3.log c:\>nul
deltree /y c:\progra~1\window~2\>nul
if exist c:\wuhistv3.log move /y c:\wuhistv3.log c:\progra~1\window~2\>nul
::
::
:: All Picture files (e.g., "My Pictures") which display thumbnails have a
:: Thumbs.db file that's never resized, even when you delete some (or all)
:: pictures. Windows recreates these files whenever you go back into the
:: picture folder(s). They can be deleted from within Windows. Both [path]
:: statements must be the same. Keep the following line as a sample.
:: if exist [path]\thumbs.db del [path]\thumbs.db>nul
:: These are my paths; change them to yours. No harm if you don't.
if exist c:\mypict~1\thumbs.db del c:\mypict~1\thumbs.db>nul
if exist c:\mydocu~1\mypict~1\thumbs.db del c:\mydocu~1\mypict~1\thumbs.db>nul
if exist c:\zebra\thumbs.db del c:\zebra\thumbs.db>nul
::
::
:: The following file will be rebuilt by Windows; this corrects problems with
:: icons not displaying correctly. Put :: in front of the next line to omit.
if exist "c:\windows\ShellIconCache" deltree /y "c:\windows\ShellIconCache"
::
::
:: Sometimes using Scanreg /opt and/or Scanreg /fix (or ScanregW with the same
:: switches) can result in new copies of the registry being created, and the
:: old ones being labeled classes.bad and/or user.bad and/or system.bad. Under
:: some circumstances (?) a registry backup can also be labeled rbbad.cab.
if exist c:\windows\*.bad del c:\windows\*.bad
if exist c:\windows\sysbckup\rbbad.cab del c:\windows\sysbckup\rbbad.cab
goto TEMP
::
::
:LESS
::
del c:\windows\cookies\index.dat>nul
del c:\windows\tempor~1\content.ie5\index.dat>nul
del c:\windows\history\history.ie5\index.dat>nul
del c:\windows\history\history.ie5\mshist~1\index.dat>nul
goto TEMP
::
::
:NOTES
::
echo I first wrote this in Jan 2001 & revised it often based on my experience
echo and suggestions from PCWorld and the Computing.net forum. This program
echo originally deleted only index.dat files. DELINDEX was expanded 2/14/02
echo w/NOTES & a MORE option to delete other unnecessary files; systems run
echo better with fewer files. Folders that Windows recreates are now deleted;
echo folders that are not recreated have their contents deleted. New in this
echo version: display of Free Space Before & After, revised/additional notes,
echo minor rewrites, & the option to add "Run DELINDEX?" to the Startup Disk.
echo.
echo SUGGESTIONS: ▸ Don't modify this file unless you REALLY know what you're
echo doing, and back up the original batch file before you tinker with it.
echo ▸ Defragment your hard drive after using the MORE option for the first
echo time, since this program may free up a lot of disk space. ▸ Run DELINDEX
echo at least monthly, more often if you use the web often and/or heavily.
echo Put this in C:\ for V(iew) to work; it also runs faster. ▸ TO RUN: In
echo WinME at a:\ (Win98 at c:\), type C:\DELINDEX. ▸ To run this program
echo without notes or options, type C:\DELINDEX LESS or DELINDEX MORE.
echo ▸ If you have the Google toolbar: to run DELINDEX MORE without user
echo input, open Notepad, enter ONLY the letter Y and save as DELYES! in C:\.
echo.
pause
cls
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DELINDEX.BAT ♣ Last Revised 3/17/2002 ♣ Written by Renaissance Man ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo To add lines to the autoexec.bat file on your StartUp Disk that will give
echo you the option to "Run DELINDEX?" at each bootup, type DELINDEX ADD.
echo.
echo Please post problems or questions on the Windows ME forum at
echo www.computing.net with DELINDEX as the subject. That way others may be
echo able to offer more advice sooner to the benefit of all who see the post.
echo Send comments and suggested improvements to me at delindex@yahoo.com.
echo.
echo This has been extensively tested in WinME/IE 5.5 SP2 and works fine on my
echo Dell Inspiron 7500 laptop, 256KB memory, 20GB hard drive. I can't say how
echo well it will work on your system. Comments have been favorable from users
echo who have posted back to Computing.net and no problems have been reported.
echo.
echo It should work on Win98; if modifications are necessary, I don't know
echo what they are. I've been told IE6 uses the same named folders to store
echo index.dat files as IE5, so IE5/IE6 functionality should be identical.
echo.
echo Special thanks to "newgrl" at Computing.net -- ☻ Renaissance Man
echo.
echo.
goto EXIT
::
::
:VIEW
type c:\delindex.bat|more
goto EXIT
::
::
:TEMP
::
:: It's safe to delete the files in these folders. They are temporary files
:: that should have been deleted by the programs that put them there.
deltree /y c:\temp\>nul
deltree /y c:\windows\temp\>nul
::
::
:: DISPLAY FREE SPACE BEFORE AND AFTER
::
if not exist c:\B4&after goto END
ctty nul
dir c:\asdfghjk|find "free">>c:\B4&after
ctty con
type c:\B4&after
del c:\B4&after
::
::
:END
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ ▸ In Windows ME, remove any floppy & press Ctrl-Alt-Delete ║
echo ║ ▸ In Windows 98, type WIN, and press Enter ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
goto EXIT
::
:ADD
cls
echo.
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ Lines will be added to the AUTOEXEC.BAT file on a:\ to give you the ║
echo ║ the option of running DELINDEX whenever you boot up with the StartUp ║
echo ║ disk. This option is only needed for WinME! DOSKEY is also added. ║
echo ║ For information on DOSKEY, at a DOS prompt, type DOSKEY /? ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo.
choice /C:cq/N/T:q,99 " Enter C to C(ontinue) or Q to Q(uit): "
if errorlevel 2 goto EXIT
type a:\autoexec.bat|find "DELINDEX">nul
if not errorlevel 1 goto OK
cls
echo.
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ ▸ The Autoexec.bat file on your StartUp disk is being updated. ◂ ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo ::******* THE FOLLOWING LINES HAVE BEEN ADDED *******>>a:\autoexec.bat
echo ctty nul>>a:\autoexec.bat
echo doskey /insert /bufsize=2048>>a:\autoexec.bat
echo ctty con>>a:\autoexec.bat
echo echo.>>a:\autoexec.bat
echo echo Do you want to run DELINDEX?>>a:\autoexec.bat
echo echo.>>a:\autoexec.bat
echo echo Enter Q to Q(uit) if you do NOT want to run DELINDEX>>a:\autoexec.bat
echo echo Enter Y for Y(es) to run DELINDEX without options>>a:\autoexec.bat
echo echo Enter M to run with DELINDEX the M(ore) option>>a:\autoexec.bat
echo echo Enter L to run DELINDEX with the L(ess) option>>a:\autoexec.bat
echo echo.>>a:\autoexec.bat
echo choice /C:ylmq/N/T:q,99 " Enter Q,Y,M, or L: ">>A:\autoexec.bat
echo if errorlevel 4 echo.>>a:\autoexec.bat
echo if errorlevel 4 goto NODEL>>a:\autoexec.bat
echo if errorlevel 3 c:\delindex.bat more>>a:\autoexec.bat
echo if errorlevel 2 if not errorlevel 3 c:\delindex.bat less>>a:\autoexec.bat
echo if errorlevel 1 if not errorlevel 2 c:\delindex.bat>>a:\autoexec.bat
echo :NODEL>>a:\autoexec.bat
cls
echo.
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ All done! Your StartUp disk has been updated. To run DELINDEX, type ║
echo ║ c:\delindex. To see the changes that were just added, press Ctrl- ║
echo ║ Alt-Delete with the StartUp disk still in drive a\. Pick option 3. ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo.
goto EXIT
::
:OK
cls
echo.
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ Your StartUp disk is already updated. If you booted with your StartUp ║
echo ║ disk, just type c:\delindex at the a:\ prompt. Otherwise, reboot. ║
echo ║ ║
echo ║ REMINDERS: ▸ DELINDEX.BAT must be on c:\, and not in a folder. ▸ You ║
echo ║ MUST boot up with the StartUp disk (WinME) or restart in DOS (Win98). ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo.
::
::
:EXIT


0

Response Number 2
Name: Col
Date: March 16, 2002 at 21:29:32 Pacific
Reply:

Good job RM..
I will get it from the site.. Col


0

Response Number 3
Name: ShutMeUpOrDown:)
Date: March 16, 2002 at 22:33:57 Pacific
Reply:

Just wanted to verify im doing this right.....
1.I dowloaded Delindex.bat and saved it to C:\.
2.I inserted a windows me startup disk and restarted the computer.
3.I chose option 3 to "start windows without cdrom support" when prompted.
4.At the A: prompt i switched to C: and entered "delindex.bat" without the quotes.
5.Delindex.bat was started and gave me several options. I chose M for more and watched Delindex do its work.
6.I was then prompted to remove my floppy and restart the computer.

This was very easy to do. Thanks again Renaissance Man. The link below is to the Delindex Download area.

Get Delindex Here!


0

Response Number 4
Name: Viking
Date: March 17, 2002 at 04:45:57 Pacific
Reply:

Another Q would be......

Can I place this New Delindex version along WITH the my Old Delindex on C:\ and choose which one to run ?
Or, do I have to Delete the Old version first to make the New one work ?


0

Response Number 5
Name: Gerri
Date: March 17, 2002 at 07:26:24 Pacific
Reply:

I have the same question as Viking--I want the new one--Do I delete the old version on my hard drive or just leave it?? tnx..


0

Related Posts

See More



Response Number 6
Name: wawadave
Date: March 17, 2002 at 08:28:41 Pacific
Reply:

hello ren
the file you saved it too was c:\ nothing else for an addy folder name?
thx
have a nice day


0

Response Number 7
Name: Viking
Date: March 17, 2002 at 10:06:05 Pacific
Reply:

Ger - was just floatin that thought. I'd already deleted the old version off of C:\ and replaced it with the new one. However I can't get it to work one way or the other.

wawadave - on the "root" of C:\ ...means, Just C:\

SMUOD, I take it you've got it workin ?
I haven't. Followed the instructs and many combos there of, but Delindex does not "spring" into life. I also took the 6 lines out of the original start disks autoexec. Any Ideas ? What simple thing am I over looking ?
Thanks

Viking


0

Response Number 8
Name: ShutMeUpOrDown:)
Date: March 17, 2002 at 13:56:22 Pacific
Reply:

As far as i can tell its doing what it supposed to. After uploading it to my website i clicked the delindex link and saved it to C:\. Then proceeded with the steps i listed above. It ran.. i restarted and found all the folders empty.

I created a new startup disk just before i ran it.

The only thing i cant get it to do is wash my dishes :)


0

Response Number 9
Name: gene
Date: March 17, 2002 at 17:16:36 Pacific
Reply:

RM:

great job

what u got planned for the Mar 31 Easter Version ;)


0

Response Number 10
Name: Viking
Date: March 18, 2002 at 03:42:41 Pacific
Reply:

Ok RM,
I follow the instructions and download Delindex[1].bat from either of the above.
I place it on C:\ (I view Delindex[1].bat thru Edit and have a little look) and shut down the computer.
I then boot up with my startdisk in and choose "without cd rom support".
At the A:\ prompt, I switch to C:\
And I can type in Delindex.bat, Delindex[1].bat...or any combo on a theme and I STILL get "Bad command or File name".

Even tried renaming it - that didn't work either. Also switched back to the previous version of Delindex with the adjusted Autoexec.bat start disk - and that works FINE.
So what am I doing wrong ?

Thanks for any suggestions.

Viking


0

Response Number 11
Name: Gerri
Date: March 18, 2002 at 07:18:42 Pacific
Reply:

HELP


0

Response Number 12
Name: Renaissance Man
Date: March 18, 2002 at 11:55:20 Pacific
Reply:

I’ve been offline for 36 hours, so forgive the delay in answering. Here are some answers to your questions:

1) DELINDEX.BAT is designed to for installation on the C:\ drive, and NOT in a folder. You can use an editor to edit it (obviously) or “to have a little look,” but if you select the V(iew) option, you don’t need an editor (however, you cannot scroll backwards). I tried to make things easy for those who are uncomfortable with using an editor. The “DEL-READ” file at the Yahoo briefcase allows you to have a little look, and to scroll back and forth. For the (V)iew option in DELINDEX to work, (a) the file must be on the root in C:\ and (b) it must be called DELINDEX.BAT. The file had to go somewhere, so I just picked the root of C:\. And it’s easier than having to type C:\Progra~1\Delindex\delindex.bat. And the program runs MUCH faster on C:\ than it does on A:\.

2) Since the current and prior versions do essentially the same thing (although the new versions does a little bit more), there’s no need to have both. Besides, you can’t have two files with the same name in the same root or folder. Is that how some of you got “DELINDEX[1]”? Even if it’s labeled Delindex1 (or is it Delindex[1]?), it should work, except for the (V)iew option.

3) You do NOT have to (although you obviously can) change drives from A:\ to C:\ for DELINDEX to work. At the A:\ prompt, you can just enter C:\DELINDEX [with or without the LESS, MORE, or ADD options.] In other words if you “tell” the system to “look” on C:\ (by putting “C:\” before “DELINDEX”) you do not have to switch drives.

4. The DEL-READ file at Yahoo briefcase is EXACTLY the same as DELINDEX.BAT except for the name/extension. Because it does not have a .BAT extension it will not/cannot function as a program, and if you changed it’s name to DEL-READ.BAT, it would work except for the (V)iew option. The line that makes the (V)iew option work is this: TYPE C:\DELINDEX.BAT|MORE. So if DELINDEX.BAT is not on C:\ or called something else, the type command will not work because the file will not be found.

5. Any “Bad command or file name” can only mean one of four things:
(a) The file does not exit, period.
(b) You typed the command wrong.
(c) The file is not at the specified location. If you somehow managed to put DELINDEX in a folder, the file will not be found on C:\. If you’re at the A:\ prompt and type DELINDEX, it won’t be found because it’s not on A:\, it’s on C:\.
(d) The file in misnamed. For example, if you type C:\DELINDEX and it’s named DELINDEX1, the file will not be found.
If you used the ADD option, and you get a file not found message, the same thing applies. The line added to the autoexec.bat file, when it runs (tries) to execute C:\DELINDEX.BAT, so the file must be called by the right name and placed in the C:\ (root) directory. If you used the ADD option and you get “File not found” try this: if you have DELINDEX.BAT and DELINDEX1.BAT on C:\, delete (or rename) DELINDEX.BAT (the original) and rename DELINDEX1.BAT (the new version) to DELINDEX.BAT and everything should be fine.

So, make sure where it is and what it’s called. To make the point, IF you’re typing C:\DELINDEX and you get “Bad command or file name” type in “dir c:\delindex.bat” (no quotes, and be sure to add .bat) and you’ll get a file not found message. Type dir /s c:\delindex.bat. (The /s switch will make the dir command look in sub-directories.) If you find that the file is in a folder, move it to C:\.

MY APOLOGIES for not telling those of you that had the old DELINDEX to rename it or delete it.

In order for the next version to do dishes, please tell me how many and what kind (e.g., plates, cups, saucers, gravy boats) and whether or not you want a silverware option added.

Post back if this doesn’t solve the problems, or if there are other problems. Enjoy using the program!

==================================================
--Renaissance Man


0

Response Number 13
Name: Renaissance Man
Date: March 18, 2002 at 13:17:41 Pacific
Reply:

Sorry. Again! Thanks for all your posts and the heads-up from SMUOD:).

I went to the Yahoo briefcase and started to download DELINDEX.BAT; it was going to download it as DELINDEX[1].BAT. I don't know how that happened.

I tested DELINDEX.BAT inside and out so you wouldn't have any problems. The last thing I expected was a problem at the Yahoo! briefcase. On 3/17, I deleted all the old files, uploaded all the new files and I (you!) got DELINDEX[1] instead of DELINDEX.

Anyway, I deleted the one that was there, uploaded another, and everything seems to be called by the right name now.

Again, I'm sorry for the problem.

If you already downloaded it, just rename DELINDEX[1].BAT to DELINDEX.BAT and everything should be OK.


0

Response Number 14
Name: Viking
Date: March 18, 2002 at 13:38:29 Pacific
Reply:

RM - I think I have a Problem....
I already renamed delindex[1].bat to delindex.bat, I take a look in Explorer and it's there on C:\

I have just run the commands -
dir c:\delindex.bat
dir /s c:\delindex.bat

and both do not recognise any such file ?
Despite my seeing it in Explorer ?

And thanks for the updated version, it'll be great when i've cracked this little problem.
:)

Viking


0

Response Number 15
Name: Gerri
Date: March 18, 2002 at 14:02:54 Pacific
Reply:

Thanks for above-- I have the old one--it works and I'm keeping it--Gerri


0

Response Number 16
Name: Renaissance Man
Date: March 18, 2002 at 15:27:39 Pacific
Reply:

Viking-

Is your Explorer set to show file extensions?

I do not know how it's possible to see it in Explorer and then not have a dir command locate it.

Explorer is "seeing" something other than what the dir command is looking for.

Do a search in Explorer for Delind*.* and see what it comes up with. Are you sure you did not name it delindex.DAT instead of .BAT?


0

Response Number 17
Name: ShutMeUpOrDown:)
Date: March 18, 2002 at 15:33:09 Pacific
Reply:

UPDATE:I updated the information at the ftp space. Now when you download delindex.bat its named correctly so you dont need to bother with renaming it.

How i ran delindex.bat
1.I downloaded Delindex.bat to C:\.
2.I inserted a windows me startup disk and restarted the computer.
3.I chose option 3 "to start windows without cdrom support".
4.At the A:\prompt i entered the following command......
C:\delindex.bat
And pressed enter.
5.From the on screen instructions i chose the More option and watched it do its thing.

Get Delindex here!


0

Response Number 18
Name: Renaissance Man
Date: March 18, 2002 at 16:03:42 Pacific
Reply:

Thanks a lot! Now if we could get Gerri to try the new version, and figure out the problem Viking has...

While we’re here, all the prior posts on “How to post hyperlinks” have provided valuable links that have helped me a lot. But none have provided a list of colors that can be used in hyperlinks or (what prompted this) how to invoke the bold attribute. Can you give me a short answer, or, if not, point me to a place with an answer?


0

Response Number 19
Name: Gerri
Date: March 18, 2002 at 16:26:40 Pacific
Reply:

Yippee!! Worked like a charm tnx fellas..glad I never tried Dusttrasher---


0

Response Number 20
Name: Viking
Date: March 18, 2002 at 16:32:16 Pacific
Reply:

WAAA HOOO !
Finally seen the Patricks day version... and very NICE it is too !
Told you it was something I'd done.

RM - ssshhhh ! Don't tell anyone, but I can't type things properly !

LoL, I've been like a lobotomised hamster on a wheel, typing dellndex on the black screen.

....Put that in comp net bloopers !

It's REALLY good RM. Sorry - feel very foolish.

Thanks anyway.

Viking - going for a long lie down. :):)


0

Response Number 21
Name: Viking
Date: March 18, 2002 at 16:35:35 Pacific
Reply:

and Gerri, obviously had his file ext's off. Fabulous - What a pair !

:):):)


0

Response Number 22
Name: Renaissance Man
Date: March 18, 2002 at 16:37:45 Pacific
Reply:

Thanks for the response. Don't feel foolish-- I've done worse. If you use the ADD option, you won't have to type anything except Q, Y, L, or M!


0

Response Number 23
Name: ShutMeUpOrDown:)
Date: March 18, 2002 at 17:09:25 Pacific
Reply:

Bold is easy..
[b] and [/b] changing the [ and ] with the correct greater than less than arrows. Place the start tag at the beginning of the text you want bold and the end tag at the end.
Color for hyperlinks are harder..
From what i know these are determined by the browser settings and in the body tag which we dont have access to or in a .css style sheet file. I think it can be done with blockquotes but each of our posts is a blockquote already so i wouldnt know where to begin. Wheres an html wizard when you need one?:)

Example of using the bold & color tag:
[b][font color="green"]Green text[/font][/b]
would be Green text

[b][font color="#66CC33"]Green text[/font][/b]
would be Green text

Testing......
Am i green?



0

Response Number 24
Name: ShutMeUpOrDown:)
Date: March 18, 2002 at 17:14:32 Pacific
Reply:

The block quote determined the links color in my test. It was supposed to be green but defaulted to black. Maybe someone knows how to or if its possible to incorporate link color in the a href tag?

Anyhow heres a link to the many many possible colors for fonts....
Click Me


0

Response Number 25
Name: Renaissance Man
Date: March 18, 2002 at 17:31:53 Pacific
Reply:

I think I know how to do color, it's [left arrow]font color="colorname">text[left arrow]/font>.

The colors I know are red blue green black purple. Anybody know what other color names I can use?

BTW, here’s an HTML Test Bed that will allow anyone to test their code, so they don’t have to use this forum to do their testing.


0

Response Number 26
Name: Col
Date: March 18, 2002 at 17:46:51 Pacific
Reply:

Tried everything known to Man..
Still.... Bad command...
Tried C:\delindex.bat
Tried Dir/s c:\delindex.bat...... No go..
Renamed it too as it had del(1) in it...
I give up.. Col


0

Response Number 27
Name: makeitgo
Date: March 18, 2002 at 17:50:55 Pacific
Reply:

colored links:

'hyperlink goes here'

the tick ' marks would be excluded.


0

Response Number 28
Name: makeitgo
Date: March 18, 2002 at 17:53:19 Pacific
Reply:

let me try that again.

colored links:

"hyperlink goes here"

the tick marks would be excluded.



0

Response Number 29
Name: makeitgo
Date: March 18, 2002 at 17:57:29 Pacific
Reply:

ok, time to make it go. let me try that other method.

colored links:

[a href="web address goes here in quotes"][font size=3 color="red"]hyperlink goes here[/font][/a]

replace the "[" with "".

moderator, if i didn't screw this one up, too, feel free to remove those other two posts.


0

Response Number 30
Name: makeitgo
Date: March 18, 2002 at 17:59:30 Pacific
Reply:

that is replace [ with .


0

Response Number 31
Name: makeitgo
Date: March 18, 2002 at 18:01:44 Pacific
Reply:

okay, let's try it in reverse. replace ] with >.
and, replace [ with <.


0

Response Number 32
Name: ShutMeUpOrDown:)
Date: March 18, 2002 at 18:23:52 Pacific
Reply:

I tried this...
[b][a href="http://www.computing.net"][font size=3 color="red"]Computing.net[/font][/a][/b]

Computing.net

It works! Thanks makeitgo.


0

Response Number 33
Name: Renaissance Man
Date: March 18, 2002 at 18:25:54 Pacific
Reply:

OK, OK. I know that!

What are my color options besides red, green, blue, purple, and black?



0

Response Number 34
Name: Col
Date: March 18, 2002 at 19:09:23 Pacific
Reply:

HELP !!


0

Response Number 35
Name: makeitgo
Date: March 18, 2002 at 19:09:29 Pacific
Reply:

here is a color chart at 24hourhtmlcafe.


0

Response Number 36
Name: Renaissance Man
Date: March 18, 2002 at 19:15:03 Pacific
Reply:

Col-

If you “Tried everything known to Man..” maybe you need a woman. Newgrl?

The answer to your problem (which isn’t clear) is somewhere in this thread.

The easiest solution is to delete all references to DELINDEX, DELINDEX.BAT, DELINDEX[1].BAT and just download DELINDEX.BAT from the Yahoo! briefcase, or from the SMUOD:) website. The links have been previously posted.

Good Luck.

If you still have problems, please be clear on what they are and what you did to correct them. Someone here will help us make it work!


0

Response Number 37
Name: ShutMeUpOrDown:)
Date: March 18, 2002 at 20:47:26 Pacific
Reply:

The click me link in response 24 shows tons of color options. It gives the name, the rgb # combination and an example of what it will look like.


0

Response Number 38
Name: Renaissance Man
Date: March 18, 2002 at 21:12:21 Pacific
Reply:

SMUOD:) -- Sorry I missed the link in response #24, which is really good, as is the link in Response #35.

Problems are a part of life, but I don't like to be the cause of them. Col, please tell us what your problems are, and how we can help you fix them.

RM


0

Response Number 39
Name: Viking
Date: March 19, 2002 at 02:29:56 Pacific
Reply:

Col - I can't imagine you repeating my error, but have you seriously checked your File Extensions are not hidden ?

To do this: goto Explorer >> Tools >> Folder Options >> View >> Uncheck -->
"Hide file Extensions for known file types"

Now try it.


0

Response Number 40
Name: Col
Date: March 19, 2002 at 09:25:51 Pacific
Reply:

Thank you all for your help..
Its up and running now, and yes it was the Hide file extensions being checked !!
Now unchecked.. Thanks again, Col


0

Response Number 41
Name: Renaissance Man
Date: March 19, 2002 at 09:57:57 Pacific
Reply:

OK! All problems posted here now seem to be resolved. Phew!

But I’m missing something; please help me understand the problem. Why is the “hide file extensions” a problem?


0

Response Number 42
Name: Viking
Date: March 19, 2002 at 12:29:09 Pacific
Reply:

Because a lot of OEM machines have it checked as default. ....and people don't uncheck it manually ?
Or do you mean something more in depth RM.


0

Response Number 43
Name: ShutMeUpOrDown:)
Date: March 19, 2002 at 15:58:34 Pacific
Reply:

Delindex[1].bat.BAT was the file name.
Dont know if this makes a difference or not.
Without file extensions showing it would have been Delindex[1].bat

Viking, File extensions were hidden on mine by default also. Retail win me install. My guess is everyone has to unhide them.


0

Response Number 44
Name: Renaissance Man
Date: March 19, 2002 at 18:15:39 Pacific
Reply:

Thanks! I didn't know it said Delindex[1].bat.BAT


0

Response Number 45
Name: Col
Date: March 19, 2002 at 18:22:55 Pacific
Reply:

Well RM i am impressed,
thank you for Delindex,
does what i want and a very small file to.
Regards, Col


0

Response Number 46
Name: robert451
Date: March 21, 2002 at 06:49:41 Pacific
Reply:

Nice Job!!Cant wait till x-mas,maybe dishes will be included.


0

Response Number 47
Name: Renaissance Man
Date: March 22, 2002 at 19:56:58 Pacific
Reply:

One Win98 user had his Windows Media Player files deleted by DELINDEX.BAT. (His c:\progra~1\window~2 was his Windows Media Player folder and not WindowsUpdate.) DELINDEX was corrected: the new version is dated 3/22/02. Thanks to sekirt for the heads-up.
THESE WERE THE PROBLEMATICAL LINES (FOR Win98):
if exist c:\progra~1\window~2\wuhistv3.log move /y c:\progra~1\window~2\wuhistv3.log c:\>nul
deltree /y c:\progra~1\window~2\>nul
if exist c:\wuhistv3.log move /y c:\wuhistv3.log c:\progra~1\window~2\>nul

THEY WERE CHANGED TO:
if not exist c:\progra~1\window~2\wuhistv3.log goto NOHISLOG
move /y c:\progra~1\window~2\wuhistv3.log c:\>nul
if errorlevel 0 if not errorlevel 1 deltree /y c:\progra~1\window~2\>nul
move /y c:\wuhistv3.log c:\progra~1\window~2\>nul
:NOHISLOG

Download the corrected (3/22) version here.

=================================================
FYI: Long file names do not work in DOS, even if enclosed in "".


0

Response Number 48
Name: sekirt
Date: March 22, 2002 at 19:58:55 Pacific
Reply:

Although it may be of no importance in this
forum, using delindex in Win 98 may cause a
problem with Media Player. I notified RM and
he has rewritten the lines in question and
the latest version (3-22-02) can be
downloaded here:

http://briefcase.yahoo.com/bc/delindex


0

Response Number 49
Name: Renaissance Man
Date: June 28, 2002 at 04:45:32 Pacific
Reply:

Info aboutthe NEW 6/21/02 Delindex.bat is here (ME Forum) and here (9x Forum).

Info about the NEW 6/21/02 Delta.bat is here (ME Forum) and here (9x Forum).


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Windows Me Forum Home


Sponsored links

Ads by Google


Results for: ** New DELINDEX.BAT for index.dat files

continuing the search for index dat file www.computing.net/answers/windows-me/continuing-the-search-for-index-dat-file/23985.html

Another tool for INDEX.DAT files www.computing.net/answers/windows-me/another-tool-for-indexdat-files/26820.html

** DELINDEX deletes Index.dat&Junk files www.computing.net/answers/windows-me/-delindex-deletes-indexdatampjunk-files/19918.html