0 LIKES LikeUnLike
Hi friends I know one trick for locking a folder which is as follows cls@ECHO OFFtitle Folder Privateif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303... goto UNLOCKif NOT EXIST Private goto MDLOCKER:CONFIRMecho Are you sure you want to lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303...attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303...echo Folder lockedgoto End:UNLOCKecho Enter password to unlock folderset/p "pass=>"if NOT %pass%== password here goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303...ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303... Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Privateecho Private created successfullygoto End:EndNow my problem is when we enter the password for unlocking the folder the password can be seen on the screen instead of this ******* all the passwords are actually seen as the stars as i mentioned above but using the script given above we can see the password while typing.So are there any changes we have to do in the script If anybody knows please help me and tell me the changes please.Thanks in advance.
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.