
A file is where your work lives, and four actions control it: create, rename, move and delete. Every computer user needs them almost daily, yet many people only know one way to do each, usually the slowest. A beginner who deletes the wrong file by accident, or saves a document and then cannot find it, is facing a problem that these four skills would have prevented.
This guide covers each action on Windows and on a Mac, with the shortcuts that experienced users rely on and the safety nets that let you undo a mistake.
- Right-click is your friend: The context menu offers New, Rename, Cut, Copy and Delete in one place, so you can do most file jobs without remembering shortcuts.
- Deleted files usually go to a bin first: The Recycle Bin on Windows and the Trash on a Mac keep files until you empty them, which gives you a chance to restore a mistake.
- Show file extensions: Seeing the .docx or .pdf at the end of a name prevents confusion and lets you rename files without accidentally breaking them.
- Undo works for file actions: Pressing the undo shortcut right after moving, renaming or deleting often reverses the action in the file manager.
In this guide
Before you start: files, folders and extensions
A file holds one item of content, such as a document, photo or spreadsheet. A folder holds files and other folders. The part of a file name after the final dot, such as .pdf or .jpg, is the extension, and it tells the computer which program should open the file.
By default Windows hides extensions. Turn them on in File Explorer by opening the View menu, choosing Show, and ticking File name extensions. On a Mac, open Finder, choose Settings, go to Advanced and tick Show all filename extensions. You will see exactly what each file is, which helps you spot a suspicious file such as invoice.pdf.exe.

How to create files and folders
Create a new folder
- On Windows: Open the location in File Explorer, right-click an empty space, choose New and then Folder, or press Ctrl + Shift + N, and type the name before pressing Enter.
- On a Mac: Open the location in Finder and press Shift + Cmd + N, or right-click an empty space and choose New Folder, then type the name.
Create a new file
The usual way is to open a program, such as a word processor or spreadsheet, create the document and choose Save. On Windows you can also right-click in a folder, choose New and then pick a document type such as a text document, which creates an empty file you can open and edit. On a Mac, create files from inside the app and choose where to save them in the save window.
Choose the save location on purpose. The first time you save, the dialog shows a folder list. Selecting your Documents folder or a named project folder is much better than letting a program choose a hidden location.
How to rename files and folders
- Select the item: Click it once so that it is highlighted.
- Start renaming: Press F2 on Windows or Return on a Mac, or right-click and choose Rename.
- Type the new name: Keep the extension, so
report.docxbecomes2027-03-report.docx, and do not delete the dot and letters at the end. - Confirm: Press Enter or click elsewhere, and the new name is saved.
To rename many files at once, select them all, then press F2 on Windows to give the first a name and the rest the same name with numbers, such as Holiday (1). On a Mac, right-click the selected files and choose Rename, and Finder lets you replace text, add text or number the files in sequence.
Windows does not allow the characters \ / : * ? " < > | in file names, and names that are too long may fail. If a rename fails, check for one of those characters first.

How to move and copy files
Moving puts a file in a new location, and the original no longer exists in the old place. Copying leaves the original and makes a second file. There are three common ways to do each.
| Method | Move | Copy |
|---|---|---|
| Drag and drop | Drag to a folder on the same drive | Hold Ctrl (Windows) or Option (Mac) while dragging |
| Keyboard shortcuts | Ctrl + X then Ctrl + V on Windows, Cmd + C then Option + Cmd + V on Mac | Ctrl + C then Ctrl + V, or Cmd + C then Cmd + V |
| Right-click menu | Cut, then Paste in the new folder | Copy, then Paste in the new folder |
On a Mac, a normal paste copies the file, and the special Move Item Here command, Option + Cmd + V, moves it. When you drag a file to a different drive, such as a USB stick, the computer usually copies it and leaves the original behind.
How to delete files safely
- Select the file or folder: Click it, or hold Ctrl (Windows) or Cmd (Mac) while clicking to pick several.
- Send it to the bin: Press Delete on Windows or Cmd + Delete on a Mac, or right-click and choose Delete or Move to Trash.
- Check the bin before emptying it: Open the Recycle Bin or Trash, and make sure that nothing important is inside.
- Empty the bin to free space: Right-click the Recycle Bin and choose Empty, or on a Mac use Shift + Cmd + Delete after you are sure.
Deleting from the bin is permanent in everyday use. On Windows, Shift + Delete skips the Recycle Bin and removes the file at once, so use it carefully. Files on USB drives and network folders often bypass the bin completely, which means that deleting them cannot be undone by restoring.
How to undo and restore
Press Ctrl + Z on Windows or Cmd + Z on a Mac right after a move, rename or delete, and File Explorer or Finder will often reverse it. If the undo window has passed, open the Recycle Bin or Trash, right-click the file and choose Restore or Put Back, and it returns to its original folder.
If you emptied the bin, restoring from a backup is the usual option. Cloud services such as OneDrive, Google Drive and Dropbox keep deleted files in their own recycle area for a limited time, and the exact period depends on your account. Check your service’s help pages. This is one more reason to keep a regular backup of your important files.
A safe routine for everyday use
- Rename before you share: A descriptive name such as
2027-04-Invoice-Brightside.pdfavoids confusion, and our free Text Case Converter can tidy capital letters in long names. - Copy before a big change: If you are about to delete or reorganise many files, make a copy of the folder first, so that there is always a way back.
- Do not delete what you do not recognise: System folders and program files keep the computer working, so leave anything unfamiliar alone unless you know what it is.
- Learn five shortcuts: Cut, copy, paste, undo and rename cover most file work, and the Keyboard Shortcuts Finder shows more.
If a file is too large to send, shrink the photos with the free Image Compressor or bundle files into a ZIP archive. The Productivity guides on this blog show how to organise your folders so that you rarely need to hunt for a file.

Questions
How do I rename a file on Windows or Mac?
Select the file, then press F2 on Windows or Return on a Mac, type the new name and press Enter. You can also right-click the file and choose Rename. Keep the extension at the end of the name, such as .docx or .pdf, so that the file still opens in the right program.
How do I get back a file that I deleted?
Open the Recycle Bin on Windows or the Trash on a Mac, find the file, right-click it and choose Restore or Put Back. If you have already emptied the bin, look in your cloud storage recycle area or restore from a backup. Success is not guaranteed, so a regular backup is the best protection.
What is the difference between Delete and Shift plus Delete?
A plain Delete sends the file to the Recycle Bin, where you can restore it later. Shift plus Delete on Windows skips the bin and removes the file immediately, after a confirmation. Use it only when you are certain that you will not need the file again.
Why can I not rename or delete a file?
The file may be open in a program, so close that program and try again. It may also be on a read-only drive, or you may lack permission to change it, which happens with system files and some shared folders. Restarting the computer closes any hidden program that may be holding the file.



Productivity
Productivity