Quote:

Functions will spill the return code to the console if unandled and I see you don't handle it in your example. The command interpreter can, if called upon redirect output to nul but in your example you don't use it.

There are FAQs on both topics.




I tried it with both NUL and the other one but both failed...

Maik