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?

Jonathan Mee
  • 35,107
  • 16
  • 95
  • 241

2 Answers2

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

Denham Coote
  • 546
  • 5
  • 15
0

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

Mahn
  • 14,870
  • 12
  • 57
  • 77