I have a commercial app (Filelocator Pro) which has a command-line interface. It can do free-text searches and this is what I will use it for. (You can easily find a demo version of Filelocator Pro at their website [login to view URL] ). I use this to search through a bunch of semicolon delimited files.
I need an app that will run Filelocator Pro from the command line and that can be operated using Windows Scheduler. The folder to search has new files added to it every day (generally 6 new files). I need to search through these files every day for certain keywords and Boolean combinations of keywords. Filelocator Pro can do complex Boolean searches. There will be approximately 30 separate Boolean phrases that I will want to search for each day. For example:
1. coke OR coca-cola AND (NOT Pepsi) AND (SUNDAY OR SATURDAY)
2. walmart OR wal-mart
3. etc.
You need to work with the Filelocator Pro command line skillfully. There is some information on how to use the command line at their site ([login to view URL]).
The input files are of particular form. The output files will be of a different format. I will give you examples of each.
Most of the time I will use your program to just search through the last day’s files (the last 6 generally) but sometimes I need to search through all the files in the searchable folder, or just a predefined number of days. So there should be a switch in the program that allows me to run it either way (for example in the config file).
It must be possible in your code for me to specify which fields to search in the input files.
The input files are named with dates and other numbers and from this you will need to determine which to search.
You will need to do all testing including scheduler testing on your machine. I will not have facilities to test now. Once you are sure all is working I will set it up on my machine according to your instructions. It should be delivered as fully functional.
The code should be fully and professionally documented and also include instructions on where and how to make modifications. I would like to have a long term relationship with the programmer.
I will send you examples of all files (input, both outputs, sample config file in xml format, even a short video).
Here is an example of running Filelocator with a search looking for files that match *.sys and writing the output to results.txt.
[login to view URL] -d "C:\WINDOWS" -f "*.sys" -o "c:\temp\[login to view URL]")
But complex Boolean expressions are another story and require more work.
Hi,
Why it is important to know the syntax of FileLocator, I mean, if the scheduled task can be configured by you, you will be able to set any arguments for the query right? Can you add some extra samples to fully understand the problem?
I have over ten years experience developing software and writing scripts.
It sounds like powershell would be best the scripting language for this. Will the script be running on Windows 7 or newer?