1
0 Comments

In a .cmd file, I came across the instruction “ren fileA fileB 2> nul”. While I understand that “>nul” is used to hide any output, I am unsure about the purpose of “2> nul”. Can you explain its significance?

Askify Moderator Edited question April 24, 2023