Anyone with a VS2008 compiler can compile the following few lines into an exe. Substitute (username) with your real username:
Code:
Dim strPath As String = "C:\Users\(username)\AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys"
Dim strDir As String
strDir = ""
Try
For Each strDir In My.Computer.FileSystem.GetDirectories(strPath,FileIO.SearchOption.SearchTopLevelOnly, "*")
My.Computer.FileSystem.DeleteDirectory(strDir, FileIO.DeleteDirectoryOption.DeleteAllContents)
Next
Catch ex As Exception
MsgBox("Error deleting the following folder:" & vbCrLf & strDir & vbCrLf & ex.Message, MsgBoxStyle.Exclamation, "Delete Flash Supercookies")
End Try
Me.Close()
I've changed my Firefox shortcut to run a batch file called Firefox.bat containing the following two lines of code:
Code:
"DeleteFlashSupercookies.exe"
"C:\Program Files\Mozilla Firefox\firefox.exe"
This works fine. Maybe someone can give a listing of a few lines of generic script that anyone can use without recourse to a compiler?
_________________
I've left WP indefinitely.
Last edited by TallyMan on 26 Mar 2010, 4:06 pm, edited 2 times in total.