ClearMyTracksByProcess - all options?

From Selenium IEDriver sources :

// This magic value is the combination of the following bitflags:
// #define CLEAR_HISTORY         0x0001 // Clears history
// #define CLEAR_COOKIES         0x0002 // Clears cookies
// #define CLEAR_CACHE           0x0004 // Clears Temporary Internet Files folder
// #define CLEAR_CACHE_ALL       0x0008 // Clears offline favorites and download history
// #define CLEAR_FORM_DATA       0x0010 // Clears saved form data for form auto-fill-in
// #define CLEAR_PASSWORDS       0x0020 // Clears passwords saved for websites
// #define CLEAR_PHISHING_FILTER 0x0040 // Clears phishing filter data
// #define CLEAR_RECOVERY_DATA   0x0080 // Clears webpage recovery data
// #define CLEAR_PRIVACY_ADVISOR 0x0800 // Clears tracking data
// #define CLEAR_SHOW_NO_GUI     0x0100 // Do not show a GUI when running the cache clearing
//
// Bitflags available but not used in this magic value are as follows:
// #define CLEAR_USE_NO_THREAD      0x0200 // Do not use multithreading for deletion
// #define CLEAR_PRIVATE_CACHE      0x0400 // Valid only when browser is in private browsing mode
// #define CLEAR_DELETE_ALL         0x1000 // Deletes data stored by add-ons
// #define CLEAR_PRESERVE_FAVORITES 0x2000 // Preserves cached data for "favorite" websites
#define CLEAR_CACHE_OPTIONS 0x09FF

From winaero.com/blog :

// Delete only download history    
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16384

I know this was answered a while ago but I thought my post might make it easier for someone who finds the question as I did.

The following can be run from CMD or in a script (I tested Batch and VBS). The parameter "ClearMyTracksByProcess" was case sensitive in all of my tests. That might differ by OS and I didn't test anything other than Windows 8.1.

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess <number>

The parameter is required and is derived from some combination of the following values, represented as a decimal number.

1    = Browsing History
2    = Cookies
4    = Temporary Internet Files
8    = Offline favorites and download history
16   = Form Data
32   = Passwords
64   = Phishing Filter Data
128  = Web page Recovery Data
256  = Do not Show GUI when running the cache clear
512  = Do not use Multi-threading for deletion
1024 = Valid only when browser is in private browsing mode
2048 = Tracking Data
4096 = Data stored by add-ons
8192 = Preserves Cached data for Favorite websites

Add values together to get aggregate functionality. For example '4' is deleting all temporary internet files and '260' is doing the same without the dialog being displayed while it purges.

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 260

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess # wouldn't touch the real cache folder "Low" (that's where protected mode IE stores the data). The command won't be effective if not run with a low integrity level. Check out: https://stackoverflow.com/questions/33447236/how-can-i-delete-internet-explorer-cookies-using-bat-script