You can only remove the long file names - if that is what your problem is but you don't say why you want to do this ?
- Context (right click) Menu, very long file names how to change the display so as not to show the file names:
Using notepad, open the C:\Documents and Settings\All Users\Application Data\Avast Software\Avast\avast5.ini (XP file location)
C:\ProgramData\Avast Software\Avast\avast5.ini (Vista, Win7 file location)
Now find and edit the [UserInterface] section, add the new line after the label, ShellExtensionFileName=0 and save the file the avast self-defence will ask for confirmation. That would get rid of the long file name element.
[UserInterface]
ShellExtensionFileName=0
For complete removal of the Shell Integration
- use the ShellExtensionFileName=-1, to switch off the avast shell integration completely.