To ignore error in dos command
"$(ProjectDir)copy_all.bat" 2 > nul EXIT 0
- 2 means standard error stream.
https://stackoverflow.com/questions/19598997/understanding-start-2nul-cmd-and-other-symbols-in-a-batch-file - > means redirecting
- nul is nul
- "Exit 0" means error level is normal
댓글
댓글 쓰기