May I ask the experts:
1. How to change the attributes of all subdirectories under DOS?
2. Is it possible to require the user to enter a password to continue execution during the execution of a batch file?
1. How to change the attributes of all subdirectories under DOS?
2. Is it possible to require the user to enter a password to continue execution during the execution of a batch file?
偶是新手,恳请各路大侠多多指正!



password)/n is set to prevent others from running this batch file. But you said that pressing Ctrl+Break key can easily crack it. Let's ask: Can you continue to run this batch file after pressing it? No! The function of pressing Ctrl+Break key is to terminate the operation, not to skip the password and continue running! This means that you can't run my batch file without entering the correct password!