title: Windows CMD TYPE command
body: <p>I am learning from a tutorial and it used this command <code>type NUL &gt; introduction.js</code> . I searched online TYPE is a command, i know > is redirection operation and last is the name of the file. And it creates an empty file. I dont't know the function of NUL but its equivalent to dev/nul of UNIX.</p>
  
  <p>But can someone summarize the whole command in parts and what is the advantage of doing this instead of echo or other commands.</p>