Watching the manual came across such code

console.log('normal_1'); console.error('error_1') console.log('normal_2'); console.error('error_3') console.log('normal_3'); console.error('error_2') >node D:nodejs/server/server 1>ok 2>err 

When starting the code, write that console.log should go to the 1.txt file and console.error to the 2.txt file, but nothing happens and when the command is run, everything hangs

  • What does this strange letter D mean? D:nodejs - Vladimir Gamalyan
  • I run the script from disk D - zloctb
  • one
    There is no need for slashes such as D:\nodejs\... ? - Vladimir Gamalyan

0