Windows Cannot Find Specified File – 3 Fixes That Work
This error pops up when the file you're trying to open is missing, moved, or the shortcut is broken. Here are the three most common causes and how to fix each one.
Cause #1: The file or shortcut points to a location that no longer exists
This is the most common reason. You click a shortcut on your desktop or Start menu, and Windows says it can't find the file. Usually this means the program was uninstalled, moved, or the shortcut itself is broken.
How to check if the file really exists
- Right-click the shortcut or icon that gives you the error. Choose Properties.
- Look at the Target field (for a program) or Location (for a file). Copy the full path, like
C:\Program Files\Something\app.exe. - Open File Explorer (Windows key + E) and paste that path into the address bar. Press Enter.
- If you see a message like "Location is not available" or an empty folder, the file is gone. That's your problem.
Fix: Reinstall the program or recreate the shortcut
If it's a program: Uninstall it completely through Settings > Apps > Apps & features, then download and install it again from the official source. After reinstalling, the shortcuts will work again.
If it's a file you moved: Drag the actual file to a new location, then update the shortcut. Right-click the shortcut > Properties > Shortcut tab > Target field. Click inside it, press Ctrl+A to select all, then type the new path. Click OK.
If it's a system file or something from Windows: Run the System File Checker (see Cause #2) to repair it.
Real-world trigger: You just uninstalled Adobe Reader but the PDF icon in your taskbar still tries to open it. The error shows up because the file is gone.
Cause #2: Corrupted system files (especially if the error happens randomly)
If you're getting this error for multiple programs or files, your Windows system files might be damaged. This can happen after a bad update, a power outage during an installation, or a virus attack. The two built-in tools to fix this are SFC and DISM.
Fix: Run SFC first, then DISM
- Press the Windows key, type
cmd, right-click Command Prompt (or Windows Terminal), and choose Run as administrator. - In the black window, type this exactly and press Enter:
sfc /scannow - Wait. It can take 15-30 minutes. You'll see a progress bar moving from 0% to 100%.
- After it finishes, you'll get one of these messages:
- "Windows Resource Protection did not find any integrity violations." — Good, no corrupted files found.
- "Windows Resource Protection found corrupt files and successfully repaired them." — Even better, it fixed them.
- "Windows Resource Protection found corrupt files but was unable to fix some of them." — This means you need to run DISM next.
- If SFC couldn't fix everything, run DISM. In the same command prompt (admin), type:
Press Enter. This downloads fresh system files from Microsoft. It can take 20-40 minutes depending on your internet speed.DISM /Online /Cleanup-Image /RestoreHealth - Once DISM finishes (you'll see "The restore operation completed successfully"), restart your computer. Then run
sfc /scannowagain to fix anything DISM left behind.
After rebooting, try opening the file or program again. If the error is gone, it was a corrupted system file.
Real-world trigger: You installed a Windows 10 update last night, and this morning Outlook and Chrome both give "cannot find file" errors. A system file got corrupted during the update.
Cause #3: The file is hidden or the path is too long
Less common, but it happens. Sometimes a file exists but Windows can't find it because it's marked as hidden, or the file path is longer than 260 characters (the old Windows limit). This usually happens with deep folder structures, like inside a compressed folder or a network drive.
Fix: Unhide the file or shorten the path
Check if the file is hidden:
- Open File Explorer. Click the View tab at the top.
- Check the box that says Hidden items. This shows hidden files and folders.
- If you now see the file, right-click it > Properties > uncheck Hidden > OK.
Check if the path is too long:
- Right-click the file or folder that's giving the error. Choose Properties.
- In the General tab, look at the Location field. Count the characters — if it's over 260, that's the problem.
- Move the file to a shorter path. For example, instead of
C:\Users\YourName\Documents\Work\Projects\2025\Q1\Reports\Final\Version3\ImportantFile.docx, move it toC:\ImportantFile.docx. - After moving, update the shortcut or try opening the file directly from its new location.
If you're on Windows 10 or 11, you can also enable long path support:
- Press Windows key + R, type
gpedit.mscand press Enter. (Skip this if you have Windows Home edition — it doesn't have Group Policy.) - Go to Computer Configuration > Administrative Templates > System > Filesystem.
- Double-click Enable Win32 long paths.
- Set it to Enabled and click OK.
- Restart your computer.
Real-world trigger: You received a zip file from a colleague that contains a folder named "Meeting Notes March 2025 Q1 Project Updates Final Version" with multiple subfolders. When you try to open a file deep inside, Windows gives the error.
Quick-reference summary table
| Cause | What to do | Time needed |
|---|---|---|
| Missing file or broken shortcut | Check the target path, reinstall the program, or recreate the shortcut | 5-10 minutes |
| Corrupted system files | Run sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth |
30-60 minutes |
| Hidden file or long path | Unhide the file, move it to a shorter path, or enable long paths via Group Policy | 10-20 minutes |
Start with Cause #1 — it's the most common and the quickest to check. If that doesn't work, move to Cause #2. Cause #3 is rarer but worth trying if you're stuck. You can fix this without reinstalling Windows, I promise.
Was this solution helpful?