Get access to 700+ labs and courses

Creating, Modifying, and Removing Files and Folders in Windows

Lab 1 hour universal_currency_alt No cost show_chart Introductory
info This lab may incorporate AI tools to support your learning.
Get access to 700+ labs and courses

Introduction

In Windows, files and folders are managed using an interface program called File Explorer. File Explorer presents files and folders in a hierarchical tree-like structure, and makes it easy to perform tasks like creating, copying, moving and deleting files.

You'll have 60 minutes to complete this lab.

What you'll do

In this lab, you'll create and modify folders using the File Explorer tool. By the end of this lab, you'll complete the following:

  • Create a folder and file using the File Explorer tool.
  • Modify and rename files and folders using the File Explorer tool.
  • Copy and move files using the File Explorer tool.
  • Remove and delete files and folders using the File Explorer tool.
  • Search for specific files and folders using the "Search" menu in the File Explorer tool.
Disclaimer: For optimal performance and compatibility, it is recommended to use either Google Chrome or Mozilla Firefox browsers while accessing the labs.

Start the lab

You'll need to start the lab before you can access the materials. To do this, click the green "Start Lab" button at the top of the screen. If you use a screen reader, please see the instructions below, in the section "Virtual Machine instructions for screen reader users". Otherwise, proceed to the next steps to open the Windows VM.

Green "Start Lab" button

After you click the "Start Lab" button, you will see a panel appear below where the start lab button was that has an Open Windows VM button.

Screenshot of "Open Windows VM" button, which appears underneath the "Start Lab" button in the lab UI.

Click the Open Windows VM button and a new tab will open with a visual interface for Windows OS, where you will be performing further steps in the lab. You should have a visual interface for Windows that looks like this:

Screenshot of Windows VM desktop.

Note: If the Windows VM becomes stuck and disconnects automatically, you can reconnect in the following ways:

  1. Return to the lab page, and click Open Windows VM again. This will reconnect you to the same Windows VM.
  2. On the login page, use the credentials provided in the "Virtual Machine instructions for screen reader users" section. Enter "localhost" as the server, along with the username and password, and leave the other fields unchanged.

If you require the use of a screen reader to complete a lab activity, you can spin up a Windows Virtual Machine that is pre-loaded with NVDA. Follow the instructions below to access your Virtual Machine.

Connection Details

After you click the "Start Lab" button, you will see all the connection details generated below. Note that generating the connection details may take a few minutes. Use these connection details and follow the instructions in the "Accessing the virtual machine" section based on your operating system.

External IP Address:

Username: qwiklabs

Password:

Note: Working with Qwiklabs may be similar to the work you'd perform as an IT Support Specialist; you'll be interfacing with a cutting-edge technology that requires multiple steps to access, and perhaps healthy doses of patience and persistence(!). You'll also be using RDP to enter the labs -- a critical skill in IT Support that you’ll be able to practice through the labs.

Accessing the virtual machine

Please find one of the four relevant options below based on your device's operating system.

Option 1: Windows Users: Connecting to your VM via RDP

In this section, you will use Remote Desktop Connection to connect to your windows instance using its external IP address.

  1. Open Remote Desktop Connection by selecting the Start button. In the search box, type Remote Desktop Connection, and then, in the list of results, click Remote Desktop Connection.
  2. Enter the external IP address of the instance you want to connect to in the Computer field. Find the external IP address for your instance from the Connection Details included in the section above, titled “Virtual Machine instructions for screen reader users”. Select connect.

RDP_Credentials

  1. Change the username to qwiklabs. And use the password mentioned in the Connection Details. Select OK.
  2. Select Yes to accept the certificate.

You should now have access to a virtual machine running Windows 10 OS!

If you encounter an error message, close the window and wait a minute or so. Sometimes the VM-creation process takes a few minutes, and you won't be able to access the VM until it's finished. This also applies to any errors that say your credentials (username and password) are incorrect.

Option 2: OS X users: Connecting to your VM via RDP

In this section, you will use Microsoft Remote Desktop 10 to connect to your windows instance using its external IP address. OSX users can download Microsoft Remote Desktop from the Mac App Store. If you are using Microsoft Remote Desktop 8, note that the interface will vary slightly than what’s listed below.

  1. Open Microsoft Remote Desktop 10 application.
  2. Select the + sign above, followed by Add PC.
  3. Enter the external IP address of the instance you want to connect to in the PC name field. Find the external IP address for your instance from the Connection Details section in the instructions section above. Select the Add button.
  4. You should now be able to access your desktop represented by the external IP address of your VM instance under PCs. Select your VM's external IP address.
  5. The application will now prompt you for username to qwiklabs. And use the password mentioned in the Connection Details section of the instructions. Once you have entered the details select Continue.
  6. For any prompt regarding ‘Certificate verification’, select continue.

You should now have access to a virtual machine running Windows 10 OS!

If you encounter an error message, close the window and wait a minute or so. Sometimes the VM-creation process takes a few minutes, and you won't be able to access the VM until it's finished. This also applies to any errors that say your credentials (username and password) are incorrect.

Option 3: Chrome OS users: Connecting to your VM via RDP

In this section, you will use Chrome RDP to connect to your windows instance using its external IP address.

Chrome OS users can download Chrome RDP from Chrome Web Store. Once you navigate to the download page, select the Add to Chrome button. Select Add app in case of any pop-ups. Then, select Launch app to start the application.

  1. Open the Chrome RDP application.
  2. Enter the external IP address of the instance you want to connect to in the Enter the computer name or address to connect to field. Find the external IP address for your instance from the Connection Details in the instructions above. Select connect.
  3. Leave the domain field blank. Change the username to qwiklabs. And use the password mentioned in the Connection Details. Select OK.
  4. Select Continue for any window related to certificate verification.

You should now have access to a virtual machine running Windows 10 OS!

If you encounter an error message, close RDP and wait a minute or so. Sometimes the VM-creation process takes a few minutes, and you won't be able to access the VM until it's finished. This also applies to any errors that say your credentials (username and password) are incorrect.

Option 4: Linux users: Connecting to your VM via RDP

In this section, you will use Remmina to connect to your windows instance using its external IP address. Open Remmina in your Linux machine. Linux users can install Remmina if it is not pre-installed.

  1. Open Remmina.
  2. Enter the external IP address of the instance you want to connect to. Find the external IP address for your instance from the Connection Details section. Select Connect. Make sure the connection protocol is set to RDP.
  3. A window appears asking you accept the certificate, select Ok to continue.
  4. Leave the domain field blank. Change the username to qwiklabs. And use the password mentioned in the Connection Details section for the Password field. Select Ok to continue.

You should now have access to a virtual machine running Windows 10 OS!

If you encounter an error message, close the window and wait a minute or so. Sometimes the VM-creation process takes a few minutes, and you won't be able to access the VM until it's finished. This also applies to any errors that say your credentials (username and password) are incorrect.

Using the Windows instance

Now you have access to the Windows instance, you're ready to start using it!

Once your virtual machine has launched, you can turn on the NVDA screen reader using the shortcut Control + Alt + N, after which, NVDA should begin reading immediately. If you have successfully set up NVDA and can hear the sound output on your personal machine, please return to the lab instructions to complete the lab.

You can open File Explorer using either of these two ways:

  1. Click on the File Explorer icon, which can be found on the Windows taskbar.

Screenshot of Windows desktop with File Explorer open to 'Quick Access'. Frequent folders are shown, including Desktop, Downloads, Documents, and Pictures.

  1. Or search for the app "File Explorer" in the search bar, and press "Enter" on your keyboard.

Screenshot of Windows desktop, showing "File Explorer" entered into the Windows Search bar. Best match returned is the File Explorer desktop app.

On the left-hand-side panel of File Explorer, a "Quick access" list of folders is shown. You can add folders to Quick access by dragging them there.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is in a folder called "Favourite Folder" which is nested within the "Quick access" list.

You can remove folders from Quick access by right clicking and selecting "Unpin from Quick Access."

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is in a folder called "Favourite Folder" which is nested within the "Quick access" list. The right-click / context menu for "Favourite Folder" is open, with the option "Unpin from Quick access" highlighted by the cursor.

In Windows, storage volumes are referenced by a single letter. Usually, Windows is installed on the C:\ drive, but storage volumes can be designed by any letter between A-Z. On the Windows virtual machine, all files and folders in a Windows system are rooted at C:\

By clicking on "This PC" on the left of File Explorer, a list of disks mounted on the Windows system is shown. In the example below, only one disk, mounted at the default location C:\, is shown. You can access files inside that disk by double clicking on it.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has selected "This PC" to access the C disk.

In the rest of this lab, you'll create, modify, copy, and remove files and directories in a Windows environment using File Explorer.

Creating files and folders

To create a file or folder, you'll first navigate to the location where you want to create the file or folder. Navigate to the Desktop folder by double clicking on it from File Explorer.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has selected "This PC" to access the Desktop folder.

Inside the desktop folder, which is initially empty, right click anywhere in the white space, select New, and then select Folder.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has selected "This PC" and then "Desktop" and has accessed the right-click / context menu for "Desktop". Within the right-click / context menu, the user has selected "New" and then "Folder" with their cursor to create a new folder on the Desktop.

File Explorer will provide you with an editable text field, which you can use to name your new folder.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is modifying a New Folder name, which is stored on Desktop of This PC.

In this example, let's call our folder, "My New Folder". Type this name into the editable field.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has typed the folder name "My New Folder", which is stored on Desktop of This PC.

After typing in the name, press Enter.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, there is a folder called "My New Folder", which is stored on Desktop of This PC.

Your new folder is successfully created! Wohoo!

Go to the Desktop, you'll create a new file. Right click on any white space inside the folder, select "New", and in the sub menu that appears, select "Text Document".

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has selected "This PC" and then "Desktop" and has accessed the right-click / context menu for "Desktop". Within the right-click / context menu, the user has selected "New" and then "Text Document" with their cursor to create a new text document on the Desktop.

File Explorer will present you with an editable field where you can enter the name of your new file. In the editable field, type in the name of your file name: "My New Text Document"

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user has typed the text document name "My New Text Document", which is stored on Desktop of This PC.

After typing in the file name, press Enter.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, there is a text document file called "My New Text Document", which is stored on Desktop of This PC.

Animated GIF showing the steps to create a new Text Document on the Desktop from File Explorer. Using the right-click / context menu from the Desktop folder, selecting "New" and then selecting "Text Document".

Your new file is successfully created! Sweet!

Note: Please make sure that you have created your folder and file both on the "Desktop" only.

Click Check my progress to verify the objective. Create files

Copying, moving and renaming files and folders

Copying, moving, and renaming files and folders works similarly in Windows. To copy a folder to another destination, you first need to access the folder in its current location. Then, use File Explorer to select "copy", navigate to the destination directory, and use File Explorer to select "paste".

Example 1

You'll copy the "Images" folder into the "Pictures" folder.

Step 1: Use File Explorer to navigate to the folder C:\Users.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, "This PC" is selected, and the cursor is selecting "Local Disk (C:)".

In this directory, you'll see a folder named Images and another named Pictures.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is following the file path "This PC", "Local Disk (C:)", "Users" and are in the "Users" folder.

To copy the Images folder to the Pictures folder:

Step 2: Right click on the Images folder and select Copy.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is following the file path "This PC", "Local Disk (C:)", "Users" and are in the "Users" folder. WIthin the "Users" folder, the "Images" folder is highlighted by the cursor and the right-click / context menu is open. Within the right-click menu, "Copy" is highlighted.

Step 3: Navigate into the Pictures directory by double clicking on it.

Step 4: Right click on the white space in the "Pictures" directory, and select Paste.

Screenshot of a Windows desktop, open to File Explorer. Within File Explorer, the user is following the file path "This PC", "Local Disk (C:)", "Users" and are in the "Users" folder. WIthin the "Users" folder, the "Pictures" folder is open and the right-click / context menu is open within the "Pictures" folder. Within the right-click menu, "Paste" is highlighted.

The folder will now be copied to the "Pictures" folder.

Screenshot of file explorer showing the "Pictures" folder, including the newly copied "Images" folder.

That's it! Easy peasy. You've successfully copied the "Images" folder into the "Pictures" folder.

Click Check my progress to verify the objective. Copy files

Deleting files and folders

To delete a file or folder, you'll first navigate to the location (C:/Users/Documents) where you want to delete a file or folder, right click on it, and select "Delete".

Let's see an example of removing a file using File Explorer. Navigate to the Documents folder in File Explorer. In the directory, you'll first delete the folder called FolderToBeDeleted.

Screenshot of File Explorer in the "Documents" folder. Within the folder, there is a folder called "Folder to be deleted". The cursor has opened the right-click / context menu and has highlighted the "Delete" option.

The folder will remain without the folder we just deleted.

Screenshot of File Explorer in the "Documents" folder. Within the folder, there is no longer a folder called "Folder to be deleted". There is still a text document called "File to be deleted".

Likewise, to delete a file, you'll navigate to the folder's location, right click on it, and select Delete. In the "Documents" folder, let's remove the file called FileToBeDeleted.

Screenshot of File Explorer in the "Documents" folder. Within the folder, there is a file called "File to be deleted". The cursor has opened the right-click / context menu and has highlighted the "Delete" option.

That's it! The folder will remain without the file and folder that we just deleted.

Screenshot of File Explorer in the "Documents" folder. The folder is empty.

Click Check my progress to verify the objective. Delete Files

Searching through files

File Explorer also gives you the ability to search through file contents. To use this feature, you need to first enable it from the menu of File Explorer. Once enabled, searches that are performed in the default File Explorer search field will also search content within the files contained in that directory. To enable searching through file contents, follow the steps below:

  1. Access the "View" tab from the default File Explorer menu.

Screenshot of File Explorer accessing the "View" tab from the File Explorer Menu.

  1. Click on the dropdown under "Options" and select "Change Folder and Search Options".

Screenshot of File Explorer accessing the "View" tab from the File Explorer Menu. The "Options" menu has been selected, with the cursor highlighting the option "Change Folder and Search Options".

  1. From the resulting menu, select the "Search" tab.

Screenshot of the Folder Options menu in File Explorer. There are three tabs to the menu -- General, View, and Search. The default view upon opening the menu is the General tab.

  1. From the "Search" menu, check the option "Always search file names and contents".

Screenshot of the Folder Options menu in File Explorer. There are three tabs to the menu -- General, View, and Search. The Search tab is selected, with the Always search file names and contents" box selected.

  1. Click on the "OK" button to apply the changes.

File content searching is now enabled. To search within file contents, use the search menu to enter your search query.

The results displayed will also include file names whose content matches the search query.

Screenshot of a complete search in File Explorer with the search term "Africa". Search results show two files that contain the search term.

That's it! You're now a pro at using the Windows file explorer to manage files in the system!

Conclusion

In this lab, you've gone through the basics of creating, modifying, copying, and removing files and folders in Windows. You'll become more familiar with what you learned here as you continue to interact with Windows systems.

End your lab

When you have completed your lab, click End Lab. Qwiklabs removes the resources you’ve used and cleans the account for you.

You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.

The number of stars indicates the following:

  • 1 star = Very dissatisfied
  • 2 stars = Dissatisfied
  • 3 stars = Neutral
  • 4 stars = Satisfied
  • 5 stars = Very satisfied

You can close the dialog box if you don't want to provide feedback.

For feedback, suggestions, or corrections, please use the Support tab.

Before you begin

  1. Labs create a Google Cloud project and resources for a fixed time
  2. Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
  3. On the top left of your screen, click Start lab to begin

Use private browsing

  1. Copy the provided Username and Password for the lab
  2. Click Open console in private mode

Sign in to the Console

  1. Sign in using your lab credentials. Using other credentials might cause errors or incur charges.
  2. Accept the terms, and skip the recovery resource page
  3. Don't click End lab unless you've finished the lab or want to restart it, as it will clear your work and remove the project

This content is not currently available

We will notify you via email when it becomes available

Great!

We will contact you via email if it becomes available

One lab at a time

Confirm to end all existing labs and start this one

Use private browsing to run the lab

Use an Incognito or private browser window to run this lab. This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account.