Protect external hard disk by password- batch file -


i want protect external hard disk (usb connecting) asking password when hard disk inserted computer- computer windows os version.

i don't want make 3rd party software because don't want encrypt data- add password (for prevent reconstruction problems in future).

so thought create batch file fired automatically when external hard disk inserted computer , following steps:

  1. ask user password.
  2. compare correct password.
  3. if user enter wrong password- eject external hard disk safely.

i don't know batch file commands, , understood autorun files don't work in windows7 , up.

so, may can me write nessecary commands , tell me how cause file fired automatically?

it's not possible make robust batch file.

any code use batch cript can closed, stopped, bypassed, , password read.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -