Quantcast
Channel: fnr.exe - Find And Replace Tool
Viewing all 144 articles
Browse latest View live

Created Unassigned: Feature Request: Would like to see UI as an Explorer Extension [53]

$
0
0
I like the user interface of fnr. But I am looking for a search/replace tool which integrates into the Windows File Explorer as an extension, such that I can start it from a folder using the right mouse-click.
I think fnr is not far away from achieving this. What it requires basically is the ability to start the UI with the --dir argument which should launch the UI with the directory set to the given path.
The rest can be done by following the advice in http://stackoverflow.com/questions/20449316/how-add-context-menu-item-to-windows-explorer-for-folders .

Any chance to get this implemented?

New Post: DOS window still pops up even with --silent flag

$
0
0
I would just like to second this request. FNR is exactly what I was looking for, with the exception of the forced DOS window that pops up.

I wish to run fnr.exe in the background as a part of a scheduled process, but the constant windows that pop up make it unusable for this purpose.

Please add a way to truly run fnr.exe silent without any window pop-ups.

Thanks.
Blasman.

New Post: Great stuff

$
0
0
Thank you soo much for that tool. I was using FART.exe for before, but that kept on deleting files during text replacement in > 1 mio files!?!?!
Your tool looks great and is running like a charme right now...

Created Unassigned: Incorrect Command Line Generated With Multiline --find Parameter [54]

$
0
0
__Description__
The --find command line is generated incorrectly for the find parameter when "use regular expressions" option is selected and the find field has multi-line text

__Steps to reproduce__
1. Set a valid directory, file mask and exclude mask
2. Check "Use regular expressions"
3. Enter in multi-line text in the find field
4. Enter text in the replace field

__Actual__
The command line for --find is generated on multiple lines rather than a new line character when "use regular expressions" option is selected. Since there are line breaks, the command is not valid in the command prompt or in a script. (See attached screenshot)

__Expected__
The command generated needs to be on one line. It appears only the --find parameter is affected, and only when use regex is selected

Created Unassigned: Handle Exception When Program Doesn't Have Permission to Access Folder [55]

$
0
0

__Description__
Trying to do a find on a system folder or drive root causes the program to crash.

__Preqs__
1. You are a running a Windows Administrator account
2. UAC is enabled
3. Fnr.exe is not launched with elevated privileges
4. You are performing a find on a system directory that requires elevated privleges, like C:\ root, C:\Progrma Files, etc

__Steps to reproduce__
1. Set the find directory to C:\ or C:\Program Files
2. Enter some find text
3. Press find

__Actual__
Program crashes

__Expected__
Handle the exception. Either display a message saying "The application does not have permission, please run as Administrator with elevated privleges" or ideally invoke a UAC prompt to elevate before trying to search in system directories. (might be dangerous though)


Stack:
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddSearchableDirsToStack(SearchData)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.IO.Directory.InternalGetFileDirectoryNames(System.String, System.String, System.String, Boolean, Boolean, System.IO.SearchOption, Boolean)
at System.IO.Directory.InternalGetFiles(System.String, System.String, System.IO.SearchOption)
at FindAndReplace.Utils.GetFilesInDirectory(System.String, System.String, Boolean, System.String)
at FindAndReplace.Finder.Find()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Edited Unassigned: Handle Exception When Program Doesn't Have Permission to Access Folder [55]

$
0
0

__Description__
Trying to do a find on a system folder or drive root causes the program to crash.

__Preqs__
1. You are a running a Windows Administrator account
2. UAC is enabled
3. Fnr.exe is not launched with elevated privileges
4. You are performing a find on a system directory that requires elevated privleges, like C:\ root, C:\Progrma Files, etc

__Steps to reproduce__
1. Set the find directory to C:\ or C:\Program Files
2. Enter some find text
3. Press find

__Actual__
Program crashes

__Expected__
Handle the exception. Either display a message saying "The application does not have permission, please run as Administrator with elevated privleges" or ideally invoke a UAC prompt to elevate before trying to search in system directories. (might be dangerous though)


Stack:
```
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddSearchableDirsToStack(SearchData)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.IO.Directory.InternalGetFileDirectoryNames(System.String, System.String, System.String, Boolean, Boolean, System.IO.SearchOption, Boolean)
at System.IO.Directory.InternalGetFiles(System.String, System.String, System.IO.SearchOption)
at FindAndReplace.Utils.GetFilesInDirectory(System.String, System.String, Boolean, System.String)
at FindAndReplace.Finder.Find()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
```

Edited Unassigned: Handle Exception When Program Doesn't Have Permission to Access Folder [55]

$
0
0

__Description__
Trying to do a find on a system folder or drive root causes the program to crash.

__Preqs__
1. You are a running a Windows Administrator account
2. UAC is enabled
3. Fnr.exe is not launched with elevated privileges
4. You are performing a find on a system directory that requires elevated privleges, like C:\ root, C:\Progrma Files, etc

__Steps to reproduce__
1. Set the find directory to C:\ or C:\Program Files
2. Enter some find text
3. Press find

__Actual__
Program crashes

__Expected__
Handle the exception. Either display a message saying "The application does not have permission, please run as Administrator with elevated privleges" or ideally invoke a UAC prompt to elevate before trying to search in system directories. (might be dangerous though)

__Stack:__
```
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddSearchableDirsToStack(SearchData)
at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.IO.Directory.InternalGetFileDirectoryNames(System.String, System.String, System.String, Boolean, Boolean, System.IO.SearchOption, Boolean)
at System.IO.Directory.InternalGetFiles(System.String, System.String, System.IO.SearchOption)
at FindAndReplace.Utils.GetFilesInDirectory(System.String, System.String, Boolean, System.String)
at FindAndReplace.Finder.Find()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
```

Reviewed: 1.7 (Apr 02, 2015)

$
0
0
Rated 5 Stars (out of 5) - Fantastic ! Easy, clean, intuitive. Software as it should be.

Created Unassigned: Arrowing down in Result list does not refresh preview [56]

$
0
0
When I click an item in the Result list, I get a preview below. When I arrow through the Result list, the preview doesn't track with the item I am on.

New Post: Replace with Regex group

$
0
0
Hi,

this tool is just great, only I didn't figure out how to use regex to match something, then use the regex group back in replace.

It may be unclear so here's the usual 'sed 'example :

string : 'hell world'
find (hell)\s+(world)
replace by \1o \2
--> hello world

Created Unassigned: Make window resizable with auto-scrollbars [57]

$
0
0
Please make the application window resizable and add auto-scrollbars (shown when necessary) to the window. My laptop screen size is 1366x768. If I click a file in the results pane, the file contents pane appears and the window height grows; however, that pane extends beyond the bottom of the screen. If the window were resizable and had scrollbars, I could scroll that pane into view. Thanks.

Reviewed: 1.7 (Jun 03, 2015)

$
0
0
Rated 5 Stars (out of 5) - Escapes were all handled without any re-writing on my part! I used it to create a Post-Build script for a Visual Studio project; and it is replacing c# code in a source file post-build. It worked perfectly the first time! Nice code!

Reviewed: 1.7 (Jun 24, 2015)

$
0
0
Rated 5 Stars (out of 5) - Great tool! The UI could still be reworked a little bit. On a 2560x1440px screen fnr covers only a small portion of the available space but nevertheless I have to scroll horizontally to analyse the search results.

New Post: replace time range with first time in each line

$
0
0
I have a file where each line is of the following format:
<variable text1>09:00-09:15 AM<variable text2>
<variable text3>11:15-11:30 AM<variable text4>
<variable text 5>01:45-02:00 PM<variable text6>

The variable texts are different on each line and different lengths. I want to get rid of the second time but leave the AM or PM, so the resulting file should be:

<variable text1>09:00 AM<variable text2>
<variable text3>11:15 AM<variable text4>
<variable text 5>01:45 PM<variable text6>

I need to perform this using FNR in a batch file. I tried to figure out how to do this, but I don't have much experience with regular expressions so I did not come up with anything that worked. Can someone help? Let me know if you need any additional information. Thanks in advance for your assistance.

Reviewed: 1.7 (Jul 20, 2015)

$
0
0
Rated 5 Stars (out of 5) - For such a simple tool, I was impressed with its features. Ability to generate a command line, clickable list of matches found, highlights etc. I will keep this one handy in my toolbelt, ready to whip it out to save the day.

Commented Unassigned: Out of memory Windows 8.1 [52]

$
0
0
I'm getting an out of memory error when I process thousands of files, any idea how I can prevent this?
Comments: win 2012 have same issue

Created Unassigned: Saving UTF-8 without BOM [58]

$
0
0
I need to force the encoding of the output files to UTF-8 __without BOM__ because they are used as PHP includes.

Is there a way to do that? If not, would you mind addind this option to the encoding dropdown?

Something like "utf-8 without BOM" right after utf-8 in the options list.

Best regards.

Commented Unassigned: Command-line piping issues [30]

$
0
0
Hi,

Great tool, really like it. Small issue regarding piping and the --silent switch. Piping to nul only seems to work 90% of the time, at random cases in a batch process it will still output the huge status/result text. Adding the --silent switch prevents this, but when this happens the tool still echo's a blank newline to the console.

It is minor I know, but it does mess with batch processing display and/or logfile output.

Thanks!
Comments: Hi, I have the same issue... Example of my batch file... _Echo Comment 1 Echo Comment 2 fnr.exe --cl --dir "C:\SQLMOVE" --fileMask "SQLMOVE.sql" --find "C:\SQL2012" --replace "E:\SQL2012" --silent Echo Comment 3 Echo Comment 4_ Actual output result... _Comment 1 Comment 2 Comment 3 Comment 4_ Expected output result... _Comment 1 Comment 2 Comment 3 Comment 4_ I tried to put ">nul" or "2>nul" or ">nul 2>nul" at the end of the line (the line with fnr.exe command), but I still have that blank line at the console. It is minor I know, but it is annoying Beside, it is a great tool. A must have.

New Comment on "Documentation"

$
0
0
Awesome tool. Use it all the time. Thank you. It would be nice to have an option to include replacing text in the file name as well as the contents?

Reviewed: 1.7 (Aug 25, 2015)

$
0
0
Rated 5 Stars (out of 5) - Super duper great tool. It saved me countless painful hours. As someone who only has to use tools like regex occasionally, it was super nice to have so many features for non-expert users, including visualizing changes without making them. Love that you can build a command in the graphical interface and have it spit out a command line version. A+++ will find and replace again.
Viewing all 144 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>