0

So far my project is all about creating files for an imaginary game and I have to create files (and files within files), first, I have to ask them what version they want, and then the batch will create new files on my computer.

I just want to know what is the command to create new files, no need for other info.

0

1 Answer 1

2

Yes, you can.

type nul > your_file.txt

It is already resolved here

Windows equivalent of 'touch' (i.e. the node.js way to create an index.html).

Sign up to request clarification or add additional context in comments.

1 Comment

I would argue that touch is mostly used for changing time stamps of files. The copy command can be used to touch a file without modifying to to change the time stamp.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.