Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
Professional croissant on closed course. Do not attempt.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


         

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Encryptedness Indicator Icon

For *.zip and *.rar files, the file icon will look differently if it's encrypted.
  (+6, -1)
(+6, -1)
  [vote for,
against]

Sometimes you might download a ZIP file, then forget about it, and the next time you try to open it up it prompts you for a password, which you've forgotten. Rather than trying to decompress every single ZIP (or RAR, XAR, etc.) file that you download to see if it works without passwords, the File browser (usually, Explorer or Finder) will automatically analyze the file and show a little picture of a key over the ZIP archive file's graphical icon, proactively alerting the user. OSes nowadays analyze files in the background for search indexing purposes already anyway.
rhatta, Dec 13 2008

MSDN: Creating Icon Handlers http://msdn.microso...b776857(VS.85).aspx
Microsoft's documentation on how to do this [krelnik, Dec 13 2008]

[link]






       Windows doesn't do any analysis beyond checking the file extension. This would be fairly easy to implement on other platforms, though.
Spacecoyote, Dec 13 2008
  

       Spacecoyote is only partially correct. *By default* Windows only looks at the extension. But the Windows shell supports an extension called an 'icon handler' that can be used to build precisely what you describe here.
krelnik, Dec 13 2008
  

       Good plan. I think I may keep that link to MSDN for later - I can already think of a few ways I might use that...
dannystaple, Dec 13 2008
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle