zelles Posted November 4, 2014 Share Posted November 4, 2014 (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 November 5, 2014 by zelles Jangal 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now