Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-09-2001, 04:55 AM   #1
Member (5 bit)
 
Join Date: Dec 2000
Posts: 25
HI,

Just done a little scipt that basically deletes all the cookies in my
Windows/Cookie folder, just by clicking oin this file. BUT in the Cookie
folder there is one file that does not delete - Index.dat file. Is there a
comment I can write into the script that will tell it to ignore that file.

At present all I have in the script is:-

@echo off
@rem This sets all cookie internet files to be deleted and bypasses
@rem the confirmation prompt
deltree /y C:\Windows\Cookies\

Any help appreciated,

Scott




slewis1972 is offline   Reply With Quote
Old 01-09-2001, 06:09 AM   #2
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
This does the trick on Win2K. I don' know about Win98, but it's worth the try

Code:
@echo off 
rem This sets all cookie internet files to be deleted and bypasses 
rem the confirmation prompt 
del "C:\Windows\Cookies\*.txt" /Q /F
mosquito is offline   Reply With Quote
Old 01-09-2001, 06:26 AM   #3
Member (5 bit)
 
Join Date: Dec 2000
Posts: 25
Excellent, altered slightly to work in Win98. So easy once I thought about it.

Cheers

Scott
slewis1972 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:09 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0