Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 327

General • ES, -no-result-error

$
0
0
ES

-no-result-error may PRINT something like, Error 9: No results found.
if no results are found

why do that instead of just setting ERRORLEVEL ?

you could do something like 2>nul, but i'd rather not
(& not sure why not, but probably for some reason?)
(does it matter to me that the message gets printed? probably not? so then, why the above?)


i'll also note that something like

> if NOT %errorlevel% EQU 0 goto fin:

does not PRINT anything (it simply goes to fin:)
where

> @if NOT %errorlevel% EQU 0 goto fin:

DOES PRINT
why is that?


2>nul
no, i wouldn't want to do that (well, maybe unless it was an Error 9: case)
because then you wouldn't see something like the IPC message if Everything wasn't running


so...

i guess it's not going to hurt anything if the message happens to turn up.
:-)

Statistics: Posted by therube — Thu Oct 10, 2024 6:35 pm



Viewing all articles
Browse latest Browse all 327

Trending Articles