create js file in windows cmd code example Example: make js file windows command type NUL > test.html type NUL > test.js