Skip to main content


Use Notepad++ To Find Text In Any File On Your PC


An alternative to the native Notepad text editor on the Windows platform, Is a rather powerful tool named Notepad++. It supports quite a few programming languages, Inclusive of editing source code and as such, Is commonly used by all types of computer programmers. Whilst It serves It's purpose well In that respect, It can also be used to find text In any file on your PC. In this tutorial, I will show you exactly how to do this with Incredible ease.


Before I begin, here's what I'm referring to. Let's say you have a bunch of files stored In a particular folder. Now let's assume you want to find a specific text, but cannot remember exactly which file you've saved It In. Rather than opening each and every file to look for the text, I will demonstrate how to locate It with Notepad++.

Essentially, Notepad++ will scan every file In your folder, look for the text you're after, and return the result. Pretty cool, yes? I think so too. The first thing you have to do, Is obviously download Notepad++ via the official website. I suggest downloading the portable version that does not require Installation. Okay, now that you're all ready to go, let's get this tutorial started.


Step One:
Firstly, I'll start with my example as follows. I have 4 files located on my computer's hard disk as per the Image below. Now I want to find the text named Windows 10 Tips, but have no Idea where I've saved It. It could be anywhere In any of those files- perhaps multiple entries.



Step Two:
I'll now use Notepad++ to find the text named Windows 10 Tips. Obviously, you'll do the same with the text you're looking for. Once Notepad++ Is executed, click on Search and then hit Find In Files.



Step Three:
Now In the Find what Input field, enter the text that you wish to find. In my case, I want to search for Windows 10 Tips. Then next to Directory, navigate to the folder where your files are stored. Once you've done this, hit the Find All button as arrowed below.



Step Four:
Notepad++ will now scan every file In the folder that you've selected to search for the text. The duration depends on the capacity of your files. Rest assured, It's extremely quick.



Last Step:
When It completes, It will return the result(s) at the bottom. As you can see, Notepad++ located my text of Windows 10 Tips, In two separate files. It even lists the Line the text Is located In! I now know exactly where Windows 10 Tips Is saved.



Final Thoughts:
The entire process In my example above, from the time I opened Notepad++ to when It returned the results, only took around 20 seconds. If I were to physically open every find and use the Search function In the Window's native Notepad editor, It would've been a somewhat lengthy process.

And what If I had 100 files? Correct, I'd have to manually sift through the lot. Notepad++ did the job In no time at all, and without opening a single file.



Comments

Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key, that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Create A Virtual Machine Using VMware

A virtual machine, often abbreviated as a VM, Is a software program containing an operating system that's Installed on the physical machine (PC), and operates In It's own Isolated environment. Every task performed In the VM, remains there, without affecting the main computer. Every user should have a virtual machine up and running, so In this tutorial, I will demonstrate a detailed guide on how to create & Install a virtual machine on your computer, namely VMware Workstation.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.