How to Protect Your USB Drive From Unwanted Access

This tutorial will show you how to make a super-hidden folder with your protected files in it and how to write a batch file which opens that folder when you type the correct password. sure you can achieve similar result with encrypted archives, but where’s the fun in that?

~~Batch file code~~
@echo off
set pass=123
echo please enter the password
set /p ui=
if %ui%==%pass% (goto open)
echo wrong password
pause & exit
:open
start hi

Leave a comment