<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Rick Moorhead wrote:
<blockquote cite="midA986DDB719714C2CA217A33B10EA753F@icefriday.local"
 type="cite">
  <pre wrap="">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.

 

An example would be to run the following from a script.

 

/fp/dreport control -FP daily_deposit -SR 1

 

Any help would be appreciated.

 

Thanks,

 

Rick 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20110123/e92b875a/attachment.html">http://mailman.celestial.com/pipermail/filepro-list/attachments/20110123/e92b875a/attachment.html</a> 
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>



  </pre>
</blockquote>
<font face="Courier New, Courier, monospace">Rick,<br>
<br>
I did not see anyone give you a batch file example.<br>
<br>
edit mybatch.bat<br>
<br>
and add your lines;<br>
<br>
SET PFDSK=C:<br>
SET PFDIR=\appl<br>
SET PFPROG=\appl<br>
SET PFVER=ON<br>
SET PFCMARK=10<br>
/appl/fp/ control -FP daily_deposit -SR 1<br>
</font><font face="Courier New, Courier, monospace"><br>
You may need additional or different environment variables set, but
this is a basic example.<br>
You may want to print to your filepro config.<br>
Then as others have said, just use the task scheduller to run it when
you need to.<br>
<br>
Richard D. Williams<br>
</font>
</body>
</html>