In Wine, I had a software installed, called RaySource, which is used to download files from China (Rayfile - which is like the Chinese version of Rapidshare).

This software, however, created literally hundreds of thousands of files in Wine's temp folder of Internet Explorer. All this within a few months. I was shocked discovering this. It took ages to delete all these files, even via terminal.



Now I'm looking for a way to cleanse out the temp files of IE on Wine exit or on Ubuntu shutdown.

Second, I'm looking for a way to have that Windows app and all its components really exit. I noticed that even after closing the Windows app, two exe files (peer.exe & PeerAdapter.exe) of that app keep running in the background and hogging net bandwidth. And I have to kill them in terminal with killall.

Any help is appreciated.