ahmeddzcom Posted April 22, 2016 Posted April 22, 2016 Hello. Some malware infections may cause important files to become hidden. SHow HiDDen FiLes (USB , Drives) expandcollapse popup#include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <AutoItConstants.au3> #include <process.au3> #include <WindowsConstants.au3> #include <GuiButton.au3> #include <ColorConstantS.au3> #include "GIFAnimation.au3" Example() Func Example() FileInstall("Refresh-icon.ico",@TempDir&"\Refresh-icon.ico",1) FileInstall("jpg.jpg",@TempDir&"\jpg.jpg",1) FileInstall("gif.gif",@TempDir&"\gif.gif",1) Global $sFile = @TempDir&"\gif.gif" If @error Then MsgBox(0,"","Error") Local $hGUI = GUICreate('', 400, 200, -1, -1, BitXOR($GUI_SS_DEFAULT_GUI, $WS_MINIMIZEBOX)) GUISetBkColor($COLOR_WHITE) Local $i = GUICtrlCreatePic(@TempDir&"\jpg.jpg", 0, 0, 400, 105) Local $idComboBox = GUICtrlCreateCombo(@HomeDrive, 132, 132, 50, 20) Local $SHOW = GUICtrlCreateButton("SHow HiDDen FiLes", 187, 130, 120, 25) Local $Ref = GUICtrlCreateButton("Ref", 92, 125, 35, 35, $BS_ICON) _GUICtrlButton_SetImage($Ref,@TempDir&"\Refresh-icon.ico") $label = GUICtrlCreateLabel(" autoitscript.com",310, 180, 140, 15) Local $aArray = DriveGetDrive($DT_ALL) For $i = 1 to $aArray [0] GUICtrlSetData($idComboBox, StringUpper($aArray[$i])) Next GUISetState(@SW_SHOW, $hGUI) $set_1 = False $set_2 = False Local $sComboRead = "" While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $SHOW GUICtrlCreateLabel("",320, 140, 60, 15) Global $hGIF = _GUICtrlCreateGIF($sFile, "", 310, 115) $sComboRead = GUICtrlRead($idComboBox) _RunDOS('attrib -r -a -s -h '&$sComboRead&'\*.* /s /d') Beep(2000,200) _GIF_DeleteGIF($hGIF) Case $Ref Local $aArray = DriveGetDrive($DT_ALL) For $i = 1 to $aArray [0] GUICtrlSetData($idComboBox, StringUpper($aArray[$i])) Next Case $label ShellExecute("https://www.autoitscript.com") EndSwitch $array = GUIGetCursorInfo($hGUI) If $array[4] = $label Then If Not $set_1 Then GUICtrlSetColor(-1, 0xFF33FF) $set_1 = True $set_2 = False EndIf Else If Not $set_2 Then GUICtrlSetColor(-1, 0x0000FF) $set_1 = False $set_2 = True EndIf EndIf WEnd GUIDelete($hGUI) EndFunc Download : SHow HiDDen FiLes.zip ---
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