

InterviewSolution
Saved Bookmarks
1. |
Solve : batch to validate password? |
Answer» <html><body><p>Hello everyone<br/>I'd like to <a href="https://interviewquestions.tuteehub.com/tag/make-249948" style="font-weight:bold;" target="_blank" title="Click to know more about MAKE">MAKE</a> an executable file that, when I run it, writes "Enter ID:" and when the user enters an ID I <a href="https://interviewquestions.tuteehub.com/tag/want-1448756" style="font-weight:bold;" target="_blank" title="Click to know more about WANT">WANT</a> the file to validate if the ID is 173227 then another executable file is run and if not the file is closed. can it be done with batch file? and what is the code?<br/><br/>thanksWelcome to CH.<br/>Somebody did that awhile back. But it was not very good. It required a hack to prevent the password from showing on the screen. And there is no piratical way to prevent the user from seeing the contents of the batch file. Not that I know about. If so, it would be something outside of what batch files normally do. Batch files normally do backups, clean up and system housework.<br/><br/>But if you would explain whyyou believe this shoyuld be done in a batch file we <a href="https://interviewquestions.tuteehub.com/tag/maybe-2821687" style="font-weight:bold;" target="_blank" title="Click to know more about MAYBE">MAYBE</a> be able to suggest a method <a href="https://interviewquestions.tuteehub.com/tag/taht-1238470" style="font-weight:bold;" target="_blank" title="Click to know more about TAHT">TAHT</a> will do what you want. <br/><br/>Do you want to restrict a user from using a certain program unless he has the password? Or do you want to prevent a user from changing the contents of a document? <br/>Thank you so much<br/>In fact I want a better <a href="https://interviewquestions.tuteehub.com/tag/look-544452" style="font-weight:bold;" target="_blank" title="Click to know more about LOOK">LOOK</a> than that of MSDOS, I need this file to make setting up a certain software conditional to entering a pre-defined password. and a (sorry message ) to promt if wrong password.</p></body></html> | |