Is there any built-in Delphi function to toggle between show and hide system files (protected operating system files) under Windows? Or maybe a registry entry in HKCU? Or maybe an API function able to do this?
I don’t ask for a trick to show/hide this kind of files in my application, I need something to work even for Windows Explorer.
Operating systems : Win XP SP1+, Vista, 7
I don’t mind even if I have to pass over an UAC notification.
This is a gross hack use it on your own risk
User Key: [
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]Value Name: ShowSuperHidden
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = show hidden, 2 = do not show)
This registry value enables you to show or hide the system files.Thus those files with the attribute hidden