What I am trying to do is creating a bootable Windows 10 installer USB on Catalina. I did find two useful post from Google and followed the commands exactly the same in Terminal and no error popped up. But the USB is not bootable on my laptop.
The first step is to erase the disk: diskutil eraseDisk ExFAT "WIN10" MBRFormat disk2
Then mount the ISO file and copy files to target USB.
The first step is to erase the disk: diskutil eraseDisk ExFAT "WIN10" MBRFormat disk2
Then mount the ISO file and copy files to target USB.