Fichier locker.bat

Closed
DEMS237 Posts 1 Registration date Monday May 3, 2021 Status Member Last seen May 3, 2021 - May 3, 2021 at 05:49 AM
HelpiOS Posts 14581 Registration date Friday October 30, 2015 Status Moderator Last seen December 19, 2024 - May 3, 2021 at 08:52 AM
Bjr a tous, j'ai utilisé le fichier locker.bat pour fermer mon fichier, voila la syntaxe.
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the 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.
pause
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End

Mais le contenue de mon dossier ne s'affiche pas
S'il vous plais aidez moi j'y est mis des documents tres importants
Je ne sais plus quoi faire
Merci d'avance
Related:

1 response

HelpiOS Posts 14581 Registration date Friday October 30, 2015 Status Moderator Last seen December 19, 2024 1,882
May 3, 2021 at 08:52 AM
Hi,

You have posted your question on the English forum. I invite you to repost it on the French forum, or, explain your question here in English.
0