Wondering how tocreate a file using Command Prompt on Windows computers?

This article will guide you on how you’ve got the option to easily do that.

Meanwhile, using the Command prompt to create a file on a Windows computer is equally uncomplicated.

Create File Using cmd

Table Of Contents

How to Create a File With Command Prompt on Windows?

When using Command Prompt, it initially opens to the User directory level.

This can be done by following these steps:

1.

CMD

PressWindows+Rto fire up the Run Command Box.2.

Typecmdin the box and hitEnter.

In the Command Prompt window, typecd Desktopand hitEnterto move to the Desktop folder.

Change Directory

The command to be used in the case of our example above iscd MyFolder.

punch in dir in the command prompt and hit enter.

This command automatically produces the file in your present directory.

spot_img

CURRENT DIRECTORY LEVEL IMAGE

Method 2.

This also creates a text file with specific content on your PC.

Your file will immediately be created in your current directory level.

Method 3.

This is a straightforward process and can be useful in various scenarios.

Method 4.

This approach saves you the effort of manually creating numerous files with the same format one-by-one.

Also, the presence of .txt at the end of the command signifies the creation of text files.

In addition, you might assign a shared filename to multiple files rather than solely numbering them.

it’s possible for you to utilize any of the methods based on what you want to accomplish.

To do this, simply key in Del filename.extension and press Enter.

source: www.techworm.net