How to make a new file in windows

In Canvas Teacher, you can add a new file or folder to your Course Files.

The images in this lesson are shown for a phone display, but unless otherwise noted, tablet displays mirror the same steps.

Open Course

How to make a new file in windows

Tap the name of the course you’d like to view.

Open Files

How to make a new file in windows

Tap the Files link.

View Files

How to make a new file in windows

View your course files. To add a file or folder, tap the Add button.

Add File

How to make a new file in windows

To add a new file, tap the Add File link.

Select File Location

How to make a new file in windows

Select the location of your file. You can record audio [1], take a new photo from your camera [2], upload a file [3], or find a file in your library [4]

Note: To learn more about media uploads, view the Canvas Media Comparison PDF.

How to make a new file in windows

Do your files and documents need better organization? If you group related files into distinct folders on your laptop or desktop, it’ll always be easy to find what you need. You can also change the icon size to make it more visually pleasing. Here are a few ways to quickly create a new folder in Windows 10, and after you master this, learn how to password protect a folder in Windows 10.

Method #1: Create a new folder with a keyboard shortcut

The fastest way to create a new folder in Windows is with the CTRL+Shift+N shortcut.

1. Navigate to the location where you want to create the folder. You can create a new folder at any location on your hard drive or within another folder (creating a subfolder) in File Explorer. You can also create a new folder on your desktop with this method.

2. Hold down the Ctrl, Shift, and N keys at the same time. Windows will immediately create the new folder with the not-very-imaginative suggested folder name of “New folder.”

3. Enter your desired folder name. It takes just seconds to create a new folder this way, but be sure to immediately begin typing your folder name when the folder first appears, because if you click on the folder or click away from File Explorer, the folder name will be “New folder” and you’ll have to rename it.

Method #2: Create a new folder by right-clicking

If you don’t remember the keyboard shortcut (or you just prefer using the mouse):

1. Navigate to the location where you want to create the folder.

2. Right-click on a blank space in the folder location. Take care with this: If you right-click on an existing item in the folder, you’ll get the wrong menu.

3. Select New then Folder from the contextual menu. Windows will create the new folder at your current location.

4. Enter your desired folder name to replace “New folder” and hit Enter.

You can create folders on the Desktop using this method too. Right-click on a blank space on the Desktop, then go to New > Folder.

Method #3: Create a new folder from the ribbon menu

Another simple way to create a new folder is to use the New folder button in the File Explorer menu.

Just navigate to the place you want the folder and click or tap “New folder” in the Home tab.

These three methods are the simplest and quickest ways to create a new folder, so you can get right to organizing your files.

Navigate to where you want to create your file.

Create A File Using CMD (Empty, Text, Batch).

Creating files with the current date.

Creating a dummy file with a specific size.

Create Files From Different Directories.

Create multiple files at once – Using CMD.

What We’ll Learn:

Welcome!
This guide is all about creating new files from the windows command line.

  • We’ll start by learning, how to navigate to the location in which we want to create our file or folder from the command prompt.
  • How to use the Echo command along with a redirector to create all sorts of files.
  • How to embed the current date into the name of your new file.
  • How to create dummy files with a specific size using FSutil.
  • And finally, we’ll learn how to use a for loop to create multiple files at once with a single command.

Lets get started!

Navigate to where you want to create your file:

Before we begin learning how to create files we must first learn how to change the location of our command line into to the location in which we want to create our new file.

For this example, let’s assume that we want to create our file in our desktop directory.


1)
Open a command prompt without administrator privileges

By default, the command prompt is located at a folder within your users directory that’s named after your computers username (C:\Users\MyPC)

How to make a new file in windows


2)
Use the “Dir” command to view every file and folder in the current directory.

The name of every file and folder as well some information about each of them will immediately appear.

How to make a new file in windows


3)
Navigate to the directory of your choice using the “CD” command.

“CD” stands for “Change Directory”. Remember to surround the name of the directory you want to navigate into within quotes.

Your current working directory will immediately change.

And that’s it! You should now have navigated into the directory of your choice.

In case you made a mistake you can navigate to the previous directory by typing Cd followed by two dots.

The double dots represent the parent directory.

Now that we are located in the correct directory lets create our file.

Create A File Using CMD (Empty, Text, Batch).

Lets start with learning how to create files from our command line. To do so we will need to use the “Echo” command along with a redirector.

What exactly is echo and a redirector I hear you ask?

This might start to sound complicated, but don’t worry its actually pretty simple.

  • Echo is primarily used to print variables or strings to the command line, similar to “print” or “Console.WriteLine” in other programming languages.
  • Redirectors are special symbols that can be used complete many functions such as combine two commands or redirect the output of one command into input for another.

Do you see where I am going with this?

We can use the echo command to print a string and redirect its output into a new file by using a redirector, specifically the greater than redirector (>).

Lets see what that would look like:

Text Files:

Lets start by creating a new text file.

To do so all we have to do is type the echo command followed by the text we want our new file to have, the grater than redirector, and the name of your new file within quotes along with the .txt extension.

You should see a new file in your current directory. Pretty simple right?

To view the contents of a file we just created directly from the command line we can use the “Type” command. Simply enter type followed by the name of the file we just created.

The contents of the file will immediately be shown in the command prompt.

Apart from creating a new file we can add or append text to an existing text file. To do so we need to use the greater than symbol twice. Here is what that would look like:

Our file will now contain the following text:

Empty Text Files

In many cases you might want to crate a completely empty text file. The syntax for this command is very similar to our previous command however this time we need to add a dot directly after the echo command.

An empty file will immediately appear in your current directory.

In case you are wondering, the dot tells the echo command to not output anything.

Batch Files

While creating text files is nice, in may case you will want to create batch files. Doing so is very simple, all we have to do is replace the extension of the name of our new file from .txt to .bat.

Here is what that would look like:

And a new batch file will immediately be created in your current directory.

Literally Any type of File:

In a similar way by using the extension of our choice we can create literally any type of file.

How to make a new file in windows

In Windows 11, you can use the universal method to create a new file or a new folder on your computer. But the ribbon menu in Windows 11 is changed, and there is a new feature that allows you to create a new folder or file. In this MiniTool post, we will show you how to create a new file/folder in Windows 11.

If you have joined the Windows Insider Program and in the Dev Channel, and your computer meets the basic Windows 11 system requirements, you can upgrade your system to Windows 11 Insider preview build. After that, you can enjoy the new features and improvements.

How to make a new file in windows

Microsoft has officially announced Windows 11 in the What’s next for Windows event. In this post, we will show you what’s new in Windows 11.

In Windows 11, you can see that there is a new right-click menu for desktop and File Explorer. The following image shows you two examples. The left one is the right-click menu of the desktop. The right one is the right-click menu in File Explorer.

How to make a new file in windows

Yes, you can right-click the desktop or in File Explorer and go to New to create a new file or folder in Windows 11. But, in File Explorer, you can also use a new method to do such a job. Here are two guides on how to create a file/folder in Windows 11.

How to Create a New File in Windows 11 File Explorer?

Here, we want to create a new Word file.

Use the New Button in the Ribbon Menu

  1. Open the folder you want to create a file in.
  2. Click the arrow down icon in the New folder
  3. Go to New > Microsoft Word.
  4. Name the file and click other space to complete the creation process.

How to make a new file in windows

Use the Universal Method

  1. Open the folder you want to create a new file in.
  2. Right-click the empty space in the folder and then go to New > Microsoft Word.
  3. Name the file and click other space to create a new Word file.

How to make a new file in windows

How to Create a New Folder in Windows 11 File Explorer?

Use the New Button in the Ribbon Menu

  1. Open the folder you want to create a new folder in.
  2. Click the New folder button from the top ribbon menu.
  3. A new folder will appear and you can name it according to your requirements.

How to make a new file in windows

Use the Universal Method

  1. Open the folder you want to create a new folder in.
  2. Right-click the empty space and go to New > Folder.
  3. Name the folder and click other space to create a new folder in Windows 11 File Explorer.

How to make a new file in windows

Tip: Recover Your Lost and Deleted Files/Folders in Windows 11

If you delete your important files or folders by mistake and need to get them back, you can use MiniTool Power Data Recovery. This is a free file recovery tool. You can use it to recover all kinds of files from data storage drives.

After downloading and installing this software on your computer, you can open it and select the drive you want to recover data from to scan. After scanning, you can find your needed files from the scan result and select them to recover.

How to make a new file in windows

Bottom Line

Now, you know how to create a new file/folder in Windows 11 File Explorer using the New folder button or using the universal method. You can just select a preferred way to do the job. Windows 11 is a new Windows operating system. If you encounter other issues when running it, you can let us know in the comments.

  • Facebook
  • Twitter
  • Linkedin
  • Reddit

ABOUT THE AUTHOR

Position: Columnist

Stella has been working in MiniTool Software as an English Editor for more than 4 years. Her articles mainly cover the fields of data recovery including storage media data recovery and phone data recovery, YouTube videos download, partition management, and video conversions.

You can create new folders many different ways, but the two easiest ways are by using the Save As dialog box or File Explorer. This article explains how to do both.

In this article:

Create a new folder when saving your document by using the Save As dialog box

With your document open, click File > Save As.

Under Save As, select where you want to create your new folder. You might need to click Browse or Computer, and navigate to the location for your new folder.

In the Save As dialog box that opens, click New Folder.

Type the name of your new folder, and press Enter.

How to make a new file in windows

Note: You can’t use slashes, colons, semicolons, dashes, or periods in your folder name.

Click Save. Your document is saved to the new folder.

Create a new folder before you save your document by using File Explorer

Open File Explorer using one of the following methods:

Press the Windows logo key + E.

Find it from the Start menu (Windows 7 or Windows 10).

Click the folder icon in the taskbar.

For Windows 8 or Windows 8.1, swipe in from the right edge of the screen, and tap Search. If you’re using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and click Search. Type File Explorer in the search box, and then tap or click File Explorer.

Navigate to where you want to create the new folder, and click New Folder.

Type the name of your folder, and press Enter.

To save a document to the new folder, open the document, and click File > Save As, and then browse to the new folder, and click Save.

The Windows 10 Registry file contains critical information related to how the operating system functions. Here's how you can create and edit the Windows 10 Registry file.

  • The Windows Registry file contains all passwords and settings for a device using the Windows 10 operating system.
  • You can make edits to this file to customize your operating system to suit your preferences.
  • You should take a backup of the Windows Registry file before making any changes; otherwise, you risk losing all your settings.
  • This article is for Windows 10 users learning how to create a regedit.exe file for editing or settings backup.

Windows Registry is one of the key components of the Windows operating system. This hierarchical database contains windows settings, application settings, device driver info and user passwords. When an application is installed, some part of the software is stored in the registry file, also known as regedit.exe.

Before making any changes to the registry file, it is important to back up the entire registry database. This way, if anything goes wrong you will be able to import original settings from this file. Keep reading for step-by-step instructions on how to create, edit and save the Windows 10 Registry file. [Read related article: Laptop Buying Guide for Small Business]

How to back up your registry database

Before making changes to your Windows 10 operating system (OS), you should make a backup to preserve your settings and ensure you can restore them in the event something goes wrong while editing. Here's how to back up your registry database:

    To access the Registry Editor in Windows 10, type "regedit" in the Cortana search bar.

How to create a new registry file

A registry file is a simple text file that is renamed to .reg extension. When the file is properly configured, you can simply click on it and make changes to your Windows Registry. To create a new registry file, follow these steps:

  1. Open Notepad and type in the following syntax:

Alternatively, you can create a REG file with the following syntax:

Tip: To manually start the service, change the data value to 00000003. To disable it, change the data value to 00000004.

How to edit the registry

With the Registry Editor, you can make changes to your current registry file. Here is an example that allows you to change the homepage of your browser (this is especially useful in case malware has hijacked your browser's homepage):

  1. Open the Registry Editor by typing "Regedit" in the Cortana search bar and agreeing to the UAC dialog box (or use the Windows key + R key method).
  2. Click the + sign next to HKEY_CURRENT_USER, then select Software, then Microsoft, then Internet Explorer.
  3. Right-click on Main and choose Export, then save the file to your computer.
  4. Right-click on the file, choose "Open With" and select Notepad.

When you open the file, it will look like this:

To change the homepage to a specific website, such as Microsoft, follow these steps:

  1. Go to HKEY_CURRENT_USER –> Software –> Microsoft –> Internet Explorer –> Main.
  2. Check for the Start Page option on the right-side pane, then double-click on "Start Page."
  3. Under "Value Data," type the name of the website (www.microsoft.com) and click "OK."

Did you know? If you make a mistake while making this change, you can simply double-click the exported file to reset the changes you made.

How to delete a specific registry entry

When you uninstall a program, there are chances that some registry settings are not deleted. To completely uninstall the program, you will need to delete the program's entry from the registry. To do so, follow these steps:

  1. Open the Registry Editor and click the + sign beside the HKEY_LOCAL_MACHINE.
  2. Click "Software," and identify the program that needs to be deleted.
  3. Right-click on the correct entry, and select "Delete."
  4. Click the + sign beside HKEY_CURRENT_USER, go to "Software," identify the program that needs to be deleted, right-click on the entry, and select "Delete."

Stella Morrison contributed to the writing and research in this article.

You can create a text file on your computer with a text editor. An example of a text editor is Notepad, which is included with Microsoft Windows.

When we refer to a "text file" we are talking about a plain text file without any text formatting (e.g., bold), images, different fonts, font sizes, etc. If you need to create a more rich document with any of these features see: How to create a document.

The below recommendations are for programs included with an operating system. You can also download and install a more powerful and free text editor such as Notepad++ to create, view, and edit text files.

Open and use Notepad

The easiest way to create a text file in Windows is to open up the Notepad software program on your computer. The Notepad is a text editor included with Microsoft Windows.

A text file is considered a plaintext file and Notepad is only capable of creating and editing plaintext files. Notepad saves any text file with a .txt file extension, which means no special formatting or fonts can be used.

The Windows Notepad program can be opened using either of the methods below.

  1. Click Start.
  2. In the Run or Search box, type Notepad and press Enter .
  1. Click Start.
  2. Open All Programs, Accessories, then click the Notepad shortcut.

Save the file as a text file

You can also create a text file using any other word processing software program, like Microsoft Word or WordPad. When saving the file, change the file name or file type to Plain Text to save it as a text file. In many of these programs, you also have the option to save the file as a Rich Text Format.

How to make a new file in windows

After the file is created and saved, it can also be edited using Notepad or another word processing software program.

Create a new text file from the desktop

Another way to create a text file is to right-click an empty area on the desktop, and in the pop-up menu, select New, and then select Text Document.

Creating a text file this way opens your default text editor with a blank text file on your desktop. You can change the name of the file to anything you want. You can edit the file in the Notepad program or any other word processing software program, like Microsoft Word.

These same steps can be used in any other location on your computer, for example, another folder.

Create a text file from the Windows command line

While in the Windows command line, you also can create a new text file in the current directory. With earlier versions of Windows, a new file of any type, including text files, could be created using the edit command line command. Later versions of Windows removed the ability to use the edit command for this purpose. Instead, you can use the echo command at the Windows command line to create an empty text file in the current directory. An example of using this shown below.

In the example above, you are using the echo command to create a file named "myfile.txt" in the current directory. Note that there are no spaces between echo, the period, the greater-than sign (>), and the file name.

Another option for creating a text file from the command line is with the start command, as shown in the example below.

In this example, you are using the start command to open Notepad with the file "myfile.txt". Assuming this file does not exist, it would be created and saved in your current directory. If the file did exist, you would be editing that file.

Create a text file from within a Linux shell

Several commands can create a text file in a Linux shell. One easy-to-use text editor is pico. You can use it like this:

After entering the command above, the editor opens and allows you to create a text file. When done, press Ctrl + X to exit the file. When prompted to save the file, if you want to keep the file, press "Y" for yes.

The .txt file extension is not required in Linux. It is a file extension most commonly found and used with Windows. If you do not need the file to open in Windows, you can have no file extension or rename it to whatever you want.

Want to make a ZIP file on Windows 10? Here are the easiest ways to do it.

Do you want to create a ZIP archive on your Windows PC? There are various reasons you would want to do this. Maybe you want to combine multiple files into a single archive? Or maybe you want to reduce the size of your files by compressing them in a ZIP archive?

Regardless of the reason, there are built-in and third-party options to create a ZIP file on Windows. Here are six ways you can create a ZIP file on Windows 10.

1. Make a ZIP File Using the Windows Context Menu

One of the easiest ways to create a ZIP file on your Windows PC is to use the context menu. This menu has an option that lets you add your selected files into a ZIP archive (you can add and remove items from the Windows context menu).

You don’t need to install any extensions or apps to use this feature. This feature works out of the box and is available in many Windows versions.

You can use this option to add a single file, multiple files, and even folders to a new ZIP archive. Here’s how you use it:

  1. Open the folder where the files you want to add to a ZIP are located.
  2. Select single files by single-clicking on them or CTRL + A to select all files.
  3. Right-click on any one file and choose Send to followed by Compressed (zipped) folder.
  4. Windows will create a new ZIP archive with your selected files in it.

This new ZIP archive is placed in the same folder as your original files.

2. Use a File Explorer Option to Make ZIP Files on Windows

Another built-in way to make a ZIP file on Windows is to use the File Explorer ribbon option. This works pretty much the same way as the context menu option, and you can use this to add both files as well as folders to a new ZIP archive.

Here’s how you find and use this option:

  1. Open a File Explorer window and access the folder where your files are located.
  2. Select the files you want to add to a ZIP archive.
  3. Click the tab that says Share, which is at the top of your File Explorer window.
  4. You’ll see an option saying Zip under the Send section. Click this option.
  5. Windows will go ahead and create a ZIP archive for you. There won’t be any prompts or confirmations.

3. Use the Windows Command Prompt to Make ZIP Files

If you prefer to use the Command Prompt over anything else, there’s a command you can use in this utility to make ZIP files. However, keep in mind this command only works in Windows 10 or later.

Windows 10 comes with a command called tar that helps to create or extract archives on your PC. You can use this command to add your existing files to a ZIP archive, and here we show how you do that:

  1. Open a Command Prompt window on your PC.
  2. Use the cd command to go to the folder where your files are located.
  3. Enter the following command in the Command Prompt window and hit Enter. Replace output.zip with the name you want to give your ZIP file, and myfile.txt with the file you want to add to the ZIP.
  4. The Command Prompt will create and save the ZIP archive in your current working directory.

4. Use a Third-Party App to Create a ZIP File on Windows

Windows lets you make ZIP archives without any apps, but the features are pretty limited. If you want more options, like the ability to choose a compression level and split your archive into multiple parts, you need to go for a third-party archive app.

7-Zip (free) is a third-party archiving tool, and you can use this app to create as well as extract many types of archives on your computer. This tool offers options like splitting your archives, adding password protection to them, and so on.

Here's how you use 7-Zip to create a ZIP file:

  1. Install the 7-Zip app on your PC.
  2. Open the app, and your files will appear. This is the app's very own file manager.
  3. Using this file manager, access the folder where your files are located.
  4. Select the files you want to add to your ZIP archive.
  5. Click Add in the top toolbar.
  6. Specify the output folder, archive format, compression level, and optionally a password for your ZIP archive. Then, click OK at the bottom.
  7. 7-Zip will create and save the archive in your selected folder.

5. Add Files to an Existing ZIP File on Windows

Forgot to add some files while creating a ZIP archive? No worries, you can add files to an existing archive without any hassle. You don’t even need an extra program. Here’s how you alter an existing ZIP to add new files to it:

  1. Open the folder where your ZIP archive is located.
  2. Open a new File Explorer window and navigate to the folder where the files you want to add to the archive are located.
  3. Drag your files over to the ZIP archive.
  4. Your files are now added to your ZIP archive.

6. Unzip ZIP Files on Windows

On Windows, you can use File Explorer as well as Command Prompt to extract your ZIP archives.

Here we show how you use them to open your archives.

Extract ZIP Archives With File Explorer

  1. Locate the ZIP archive you want to extract in a File Explorer window.
  2. To extract a single file, double-click the archive and drag the file you want to extract to a folder in the Explorer.
  3. To extract all files, right-click the ZIP archive and select Extract All.

Extract ZIP Archives With the Command Prompt

  1. Open a Command Prompt window and cd to the directory where your ZIP archive is located.
  2. Type the following command replacing myarchive.zip with the actual name of your archive, and hit Enter.
  3. The Command Prompt will decompress your archive in your current working directory.

Zipping Files Together on Windows

As a Windows user, you don’t need to make much effort to make ZIP archives on your PC. Simply select the files you want to include in your archive, click an option, and your ZIP archive is ready.

Even when you don’t need to compress files, ZIP archives are still handy. We’ll show you how to make them on macOS.

How to make a new file in windows

Mahesh is a tech writer at MakeUseOf. He’s been writing tech how-to guides for about 8 years now and has covered many topics. He loves to teach people how they can get the most out of their devices.

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!