Author Topic: Abbreviate Long File Names In The Context Menu?  (Read 5003 times)

0 Members and 1 Guest are viewing this topic.

Offline !Donovan

  • Web Analyst
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2219
    • The WAR Against Malware
Abbreviate Long File Names In The Context Menu?
« on: May 17, 2013, 11:45:17 PM »
Hi all,

Some of my files have long names and I was surprised when avast! caused the context menu to cover most of my 16:10 screen.

I believe that both the user experience and overall look in general could be improved if the file name was limited to a certain amount of characters.

For example: some_really_long_file_name_that_is_really_long.png becomes some_really_long_file...

See attached,
~!Donovan
Familiarize Yourself! | Educate Yourself! | Beautify Yourself! | Scan Yourself!
"People who say it cannot be done should not interrupt those who are doing it."

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89029
  • No support PMs thanks
Re: Abbreviate Long File Names In The Context Menu?
« Reply #1 on: May 18, 2013, 12:33:46 AM »
There is no abbreviation as such but you can remove the file/folder name or the avast context menu integration from being displayed by modifying the avast5.ini file.

- 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.
[UserInterface]
ShellExtensionFileName=0

To Remove Shell Integration - use the ShellExtensionFileName=-1, to turn off the avast shell integration completely. (Note the value - minus 1)
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline !Donovan

  • Web Analyst
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2219
    • The WAR Against Malware
Re: Abbreviate Long File Names In The Context Menu?
« Reply #2 on: May 18, 2013, 12:59:05 AM »
Hi DavidR,

Thank you for the modifier. Although my issue has been solved, I would still like to see forms of abbreviation implemented in future versions of Avast.

~!Donovan
Familiarize Yourself! | Educate Yourself! | Beautify Yourself! | Scan Yourself!
"People who say it cannot be done should not interrupt those who are doing it."

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89029
  • No support PMs thanks
Re: Abbreviate Long File Names In The Context Menu?
« Reply #3 on: May 18, 2013, 02:23:39 AM »
You're welcome.

Perhaps if they concatenated the path, but I rather doubt it would be as easy to do that with a file name, where do you start as using the old 8.3 file name format would be pretty meaningless for a really really really long file name.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security