I have written a simple bat script for my computer to do a few things. One of these things is to delete cookies from my computer.

I chose the following command to do this;

```
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

```

since the following list of commands was given on this page;

<https://social.msdn.microsoft.com/Forums/ie/en-US/ce81943b-32b8-437b-b620-171c3d5893e7/inetcplcpl-with-clearmytracksbyprocess?forum=ieextensiondevelopment>

```
echo Clear Temporary Internet Files: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 

echo Clear Cookies: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 

echo Clear History: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 

echo Clear Form Data: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 

echo Clear Saved Passwords: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 

echo Delete All: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 

echo Delete All w/Clear Add-ons Settings: 
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

```

However, running my antivirus software after running this still deletes lots of cookies, so I know that it isn't deleting cookies as expected. It does however, clear my internet history.

Is anyone able to explain why this isn't working? Have Microsoft changed IE so that cookies cannot be deleted, or are websites using a different folder for cookies? Also, what command should I be using to successfully delete cookies?