Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: password protection?  (Read 2360 times)

0 Members and 1 Guest are viewing this topic.

DDN2k

  • Guest
password protection?
« on: July 18, 2006, 11:43:05 AM »
hi in new here. i hope some of u can help me.

Is it possible to set a password protectioen on a file with dos? how?

dakota

  • Guest
Re: password protection?
« Reply #1 on: July 18, 2006, 11:00:39 PM »
goto pass
:bad
echo Please enter the corect password.
:pass
set /p pass=Pasword:
if %pass%==YOUR PASSWORD HERE got good
goto bad
:good