Find results - Copy name of files (without hits)
hello. I want to find results on “search in files” option, copy name of files (without hits result), and to delete those files. How can I do that?
Hello @vasile-caraus and All,
Not very difficult, indeed !
Do your search in files (
Ctrl + Shift + F)
Once the Find Result panel opened, right-click inside and choose the option
Hit the shortcut
Ctrl + C( Do NOT use the
Copyoption of the context menu ! )
Open a new tab (
Ctrl + N)
Paste the clipboard (
Ctrl + V)
Now, in that new file, perform the following regex S/R :
Save this new file, in your N++ directory, as, let’s say
Execute the option
Run > Run...( of hit the
Type in the command
cmd /k Suppression.bat
Valid the suppression of each file, by answering
Close the DOS window
Et voilà !
Remark : If your prefer to delete all files in one go, change the Replace zone as