U
U
u on2021-05-07 08:49:15
cmd/bat
u on, 2021-05-07 08:49:15

Why does ^nul>^ hang the system?

^ nul>^
How does this code (bat) work, and why does it hang windows?
Why does it only work in bat file and not in cmd?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-05-07
@firedragon

The system device nul redirects output to an indefinite place, apparently to stdout in cmd, apparently the interpreter works according to somewhat different rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question