Page 1 of 1
Help to disable CtrlC from batch
Posted: 06 Jun 2021 08:24
by wasabipham87
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.
Re: Help to disable CtrlC from batch
Posted: 13 Jan 2022 21:36
by Jedininja
wasabipham87 wrote: ↑06 Jun 2021 08:24
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.
Re: Help to disable CtrlC from batch
Posted: 14 Jan 2022 11:36
by aGerman
BREAK /?
...
This is present for Compatibility with DOS systems. It has no effect
under Windows.
...
We really appreciate any help of new volunteers. But answers should at least make any sense.
Steffen