Help to disable CtrlC from batch
Moderator: DosItHelp
-
- Posts: 1
- Joined: 06 Jun 2021 08:17
Help to disable CtrlC from batch
I created this batch for WinPE environment. The last one i used with SET /p work fined. But when i change the menthod input password to choice (auto accept without 'ENTER' to finish input), the problem is user can cancel batch with ctrl+C. Anyone can help me to DENY CtrlC from this.
- Attachments
-
- startnet.txt
- (3.53 KiB) Downloaded 446 times
Re: Help to disable CtrlC from batch
wasabipham87 wrote: ↑06 Jun 2021 08:24I created this batch for WinPE environment. The last one i used with SET /p work fined. But when i change the menthod input password to choice (auto accept without 'ENTER' to finish input), the problem is user can cancel batch with ctrl+C. Anyone can help me to DENY CtrlC from this.
Code: Select all
break
Re: Help to disable CtrlC from batch
BREAK /?
Steffen
We really appreciate any help of new volunteers. But answers should at least make any sense....
This is present for Compatibility with DOS systems. It has no effect
under Windows.
...
Steffen