Sunday, January 19, 2025
HomeGeneralHow do you Create a New Empty File from the Windows Command...

How do you Create a New Empty File from the Windows Command Prompt?

To create a new empty file from the Windows Command Prompt, you can use the following command: type nul > filename.txt

Replace filename.txt with your desired file name and extension.

Here’s how it works:

– type nul outputs nothing (nul is a special file that contains nothing).
– The > symbol redirects the output to a new file.

See also  What Are The Notes For The Recorder From The Song Buns

When you run this command, a new empty file with the specified name will be created in the current directory.

These commands will create a new empty file with a size of 0 bytes.

RELATED ARTICLES
0 0 votes
Article Rating

Leave a Reply

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
- Advertisment -

Most Popular

Recent Comments

0
Would love your thoughts, please comment.x
()
x