automating from a script file
Kenneth Brody
kenbrody at spamcop.net
Sun Jan 23 19:52:16 PST 2011
On 1/23/2011 12:39 PM, Rick Moorhead wrote:
> Can someone please give me some direction on how to run filePro process from
> outside of filePro using a script file? I want to automate some reports that
> I generate and run them automatically as a schedule task outside of filepro.
> I am running filePro Plus version 5.0 on Window XP.
Use the task scheduler. Bring up the control panel, double-click "scheduled
tasks", and then double-click "add scheduled task". Then simply fill out
the information for your script. (It would probably be best to create the
.bat file first, and the use "browse" to find it in the "scheduled task
wizard".)
> An example would be to run the following from a script.
>
> /fp/dreport control -FP daily_deposit -SR 1
[...]
Just remember that you need to use backslashes in the paths in the .bat
file, and you need to either give the full path, or make sure the program is
on the PATH. For example:
c:\appl\fp\dreport control -fp daily_deposit -sr 1
--
Kenneth Brody
More information about the Filepro-list
mailing list