Specify Multiple Directories in Notepad++ Find in Files
Asked Answered
W

2

8

Notepad++'s "Find in Files" is amazingly helpful. But I want to specify a bunch of directories in which the search should take place.

enter image description here

Above you see me add the wildcards to the "Directory" field:

C:\*\vc90\*

However my version of Notepad++ doesn't seem to tolerate asterisks in the path.

I have about 30 Visual Studio Projects who's names I want to be grabbed by the first asterisks in the path, but I only want to modify files in the vc90 version of these projects (not vc80, vc100, etc.), and I don't want to have to go individually specify each of the directories.

Is there some other recourse for me?

Wame answered 1/2, 2016 at 17:46 Comment(0)
A
2

PowerGREP

While it's not Notepad++, and it's not free, PowerGREP can do what you're looking for. You can download an evaluation version, which appears to still be working on my machine, months later.

I created a few mock files/folders and it seems to work as you expect. There are options to create backups, etc.

enter image description here

enter image description here

enter image description here

Angling answered 5/2, 2016 at 11:33 Comment(3)
This is very nice looking. I was just gonna write a C++ program to do it, but I'll have to check this outWame
Yeah, seems to be able to do quite a lot! Hope it's useful.Angling
The demo license is 15 days of actual use. So if you have used it on less than 15 separate days your license would not have expired yet.Ten
C
0

VSCode is free and supports wilcards for both files and paths in search/replace operations.

Collayer answered 20/2, 2020 at 17:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.