Sinisterly
hide file on computer - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: hide file on computer (/Thread-hide-file-on-computer)



hide file on computer - SCARIO - 06-08-2021

you can hide folders on computer

save as .bat
Code:
cls @ECHO OFF COLOR A title Folder "Top Secret" if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST "Top Secret" goto MD "Top Secret" :CONFIRM echo lock folder?(Y/N) set/p "cho=>" if %cho%==y goto LOCK if %cho%==Y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Invalid choice. goto CONFIRM :LOCK ren "Top Secret" "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +r +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo If password is wrong the computer will shutdown. echo Enter Password: set/p "pass=>" if NOT %pass%== pass goto FAIL attrib -r -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" "Top Secret" echo Folder Unlocked successaaaay goto End :FAIL echo Invalid password goto end :MD "Top Secret" md "Top Secret" echo Locker created successaaaay goto End :End