Jump to content

Recommended Posts

Posted (edited)

This is not just "hidden" files and folders, but "super hidden" files and folders.

By default "super hidden" files and folders are set not to be displayed, even when "hidden" files are set to be displayed.

With these 4 functions you can super hide and unhide files and folders as well as set the system to show or hide these items.

;  About:
;    This is not just hidden files and folders, but "super hidden"
;    files and folders. By default super hidden files and folders 
;    are set not to be displayed, even when hidden files are set to 
;    be displayed. With this you can super hide and unhide files and 
;    folders as well as set the system to show or hide these items.
;
;  Super hide file or folder:
;    _FileHide("C:\Users\Top Secret")
;
;  Unhide super hidden file or folder:
;    _FileShow("C:\Users\Top Secret")
;
;  Set system to show super hidden files:
;    _FileSuperHiddenShow()
;
;  Set system to hide super hidden files:
;    _FileSuperHiddenHide()
;

Func _FileHide($f_path)
    FileSetAttrib($f_path,"+SH")
EndFunc

Func _FileShow($f_path)
    FileSetAttrib($f_path,"-SH")
EndFunc

Func _FileSuperHiddenShow()
    RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "SuperHidden", "REG_DWORD", "0x000001")
EndFunc

Func _FileSuperHiddenHide()
    RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "SuperHidden", "REG_DWORD", "0x000000")
EndFunc
Edited by zelles

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...