How do you create multiple files with different extensions using command line on Windows? [closed]
Solution 1:
You can split the input into multiple echo usages. This is technically running multiple commands at once, but it should do the trick.
echo > index.html && echo > script.js && echo > style.css
Having two &&
signs breaks the command if it fails for any reason, or you can use only one &
to continue even if it fails to create the previous file.