Name: batchboy Date: January 6, 2008 at 09:54:24 Pacific Subject: batch help? anyone? OS: win xp CPU/Ram: 2.2Ghz Duo 2G Ram Model/Manufacturer: dv9000 hp
Comment:
I am looking for a code (.bat) that will keep the command window impossible to close until, for example, a correct password is inserted. The annoying part for me is that they can just press 'x' and close the window. Is there a way to stop this? Thanks.
Ahem... The Command Prompt does not try to prevent the user from closing it. There is no way a Command Script can convince CMD to do otherwise, so no, you can’t.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE