This is not a question, it is a request, so if it have to be in another forum, please, redirect me correctly.
I'd like to have an "exe", that works as follows:
The user let start the external bootable device with installed the dos system (in my specific case, a Kingston pendrive with dos6.22),
the the dos is loaded, but before write:
Insert your password here: _
after it does as follows:
if password is equal to the content of the file "password.ini", located inside the pendrive, the DOS starts, else, the message is rewrote.
As i'm used to write in GameMakerLanguage, and someone told me that it's similar enought to c++, i can tell this by this way:
var_getpass = get_string("Insert your password here: ", "")
var_pass = ini_read_string("general","password","default")
if var_getpass = var_pass
let dos work
i don't know if is the same with c++ or Others programming languages, however i think that i explained enought.
I'll just explain this:
it reads an ini inside section "general", key "password", and if it don't exists, it uses "default". So, in this case, if the ini don't exists, the var_pass will be = "default"