1.

Solve : password batch?

Answer»

ok i have a flash drive that if lost has personal numbers and such that i dont want just anyone to find... if i place all the documents into one folder and make it so when u open that folder a batch starts up can i have that batch prompt a password? and if u enter the wrong password it doesnt let u access the document? if so please POST the script or whateverits called. im a noob in need of advice im trying to teach myself batches but this is a lil complexWhat software did you use to create these documents? Microsoft Office programs have built-in security methods at the document level. You probably COULD set passwords on documents programmatically with VBSCRIPT. Other publishers may also have security methods you can use. Caution: If you lose or forget your password, it can't be recovered, and you won't be able to open your document/database. You'd be surprised how often that COMES up,

A batch file in this situation would be next to useless. They can be easily canceled, and if not, the NT window they run in can be closed, bypassing whatever security you might have.

You might Google for a third party program or it may be possible to encrypt the document data using Powershell or some other Windows script language.

Good luck. used notepad and this info isnt top secret just personal so it just needs to stop ur basic computer user not a wiz kid...Quote from: cmdpro on January 04, 2011, 01:53:23 PM

used notepad and this info isnt top secret just personal so it just needs to stop ur basic computer user not a wiz kid...

It doesn't take a "Wiz kid" to hit the X button. You've been TOLD this countless times. Let's have a recap:

Quote
[16:10] <cmdpro> so culd i write a batch
[16:10] <+pottsi> no
[16:10] <cmdpro> i have a batch that firsts prompts for a password
[16:10] <+pottsi> no
[16:11] <&BC_Programming> yes you <could> but it would be pretty crappy


Basically- No. you can't. If you are using XP pro you can encrypt the file.You can always give this a try....

http://keepass.info/



Discussion

No Comment Found