Re: Delete Cookies Dir

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Bernd Wachholtz" <B.Wachholtz@xxxxxx> wrote in message
news:4s3rtsFts8fjU1@xxxxxxxxxxxxxxxxxxxxx
I don't know what the DeleteFolder method calls, but I would guess
SHFileOperation, and so I would expect the same error. I don't know if
the error is handled differently, and you don't explain what you saw.
Doing it manually I saw 'is a windows system folder and is required for
Windows to run properly...'.
Doing it in a .vbs I don't get any messages because of the 'On Error
Resume Next'-Statement which is required in my script before. I don't
'see' anything, I just notice that no files in the dir are deleted by the
script.

It might be useful to take out the "On Error Resume Next" to see if the
error is the same. If it is not, it tells you that there is some other
reason it won't work.

There is an index.dat file for each of these folders that is an index
referencing all the other files. So you run the risk of corrupting the
"database".
Do you really see any consequences there? I deleted the files using a DOS
batch file before and it still works.
Bernd

The consequences are obvious, bit minimal. If it were me, I would do it the
intended way for maximum compatibility and no risk.

Paul


.



Relevant Pages

  • Re: Delete Cookies Dir
    ... SHFileOperation, and so I would expect the same error. ... Doing it manually I saw 'is a windows system folder and is required for Windows to run properly...'. ... Doing it in a .vbs I don't get any messages because of the 'On Error Resume Next'-Statement which is required in my script before. ... So you run the risk of corrupting the "database". ...
    (microsoft.public.scripting.wsh)
  • Re: A Very Real Serious Question Concerning MJ and Pain Relief
    ... I'm just too old and febel to risk a raid like they have been ... Random piss tests at both work & the Doc's office. ... Now all of that being said, if all Cannabis related intoxicants were ... script either. ...
    (alt.support.chronic-pain)
  • Re: [PATCH 0/5] Add some missing Documentation/*/00-INDEX files
    ... Jesper Juhl wrote: ... That is certainly a risk, ... small script to check if the 00-INDEX files are up-to-date, ...
    (Linux-Kernel)
  • Re: Statement limit bug
    ... accepted in a script file. ... JScript engine is not attached to browser installation but in fact a ... Anderson naked" lesser risk of sexual harassment issues. ... inserted scripting crap. ...
    (microsoft.public.scripting.jscript)
  • Re: How to get intermediate script results to browser?
    ... > Netscape 7.1 lets me see my echo output, line for line, when I use the php ... > Internet Explorer, so I found an IE forum and got the answer. ... risk for resending a mail to a person. ... Okey, didn't know how your script looked like, could have continued a good bit ...
    (alt.php)