In IE9, I ran InetCpl.cpl, ClearMyTracksByProcess 8, and it didnβt delete the thing, so it looks like MS has moved the target messages again.
Below is some very nice code that I got that should work in IE7, but if you need code that does the trick on win7 and IE8 / 9 then click on my name
public static class ClearMyTracks { public enum ClearFlags { DeleteCookies = 2, DeleteHistoryFiles = 8, DeleteFormData = 16, DeletePasswords = 32, DeleteHistory = 193, DeleteALLHistory = 255, DeleteTrackingInfo = 2048, PreserveFavourites = 8192, DeleteDownloadHistory = 16384, DeleteEverything = 22783 }; public static void IEClearHistory(bool PreserveFavs, bool TempFiles, bool Cookies, bool History, bool form, bool passwords, bool downloads) { uint mask = 0; if (PreserveFavs) mask |= (uint)ClearFlags.PreserveFavourites; if (TempFiles) mask |= (uint)ClearFlags.DeleteHistoryFiles; if (Cookies) mask |= (uint)ClearFlags.DeleteCookies; if (History) mask |= (uint)ClearFlags.DeleteHistory; if (form) mask |= (uint)ClearFlags.DeleteFormData; if (passwords) mask |= (uint)ClearFlags.DeletePasswords; if (downloads) mask |= (uint)ClearFlags.DeleteDownloadHistory; if (mask != 0) System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess " + mask.ToString()); }
Flash source share