I'm developing a web site which uses cookies. I wanted to delete all the cookies from my system, before I start (debug) the web site from Visual Studio.
I now run the command below as post-build event of my web project.
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
By the way. There are more command-line statements available. See the Overview of commands to clear IE.
Hope this helps,