To clear IE (Internet Explorer) you can use this solution:
Create a file (.bat) and put inside the command that you prefer.
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