Batch Menu problem in Windows

daN baueR dan at onlinemgt.com
Tue Feb 22 11:25:31 PST 2011


On Tue, Feb 22, 2011 at 2:10 PM, Kenneth Brody <kenbrody at spamcop.net> wrote:
> On 2/22/2011 2:00 PM, daN baueR wrote:
>>
>> This has to be very simple but it's got me stuck.  I've created a menu
>> option with a couple of reports that will run consecutively.   In
>> define menus I'm pressing F5 to create a batch file. I generally do
>> this in Unix so I've added the full path names for dreport etc.
>> P:/appl/fp/dreport ...  P is a mapped drive so I've also tried
>> addressing by using the server name //server2/appl/fp/dreport ...
>
> The error is coming from filePro, so it's running dreport.  The problem is
> not the path to dreport, but the path(s) to the filePro files.
>
> [...]
>>
>> *** A filePro Error Has Occurred ***
>>
>> On File: \/filepro/roomTags/key
>>
>> File not found
>>
>>
>> *** A filePro Error Has Occurred ***
>>
>> On File: \/filepro/roomtags/key
>>
>> Output Processing
>> Line Number: 1
>>
>> lookup tt1 = roomtags  r=free  -e
>>
>> File not found
>
> [...]
>
> What are PFDATA, PFDIR, and PFDSK set to?
>
> Also, I see two different spellings for "roomTags" and "roomtags".  While
> Windows filenames are not case-significant, perhaps the network server is?
> (Note that this may not be related to the error.)
>
> --
> Kenneth Brody
>

Here's my env file:

rem This File created by install shield on 10-11-2006
set PATH=C:\windows\system32
set PFDSK=P
set PFDATA=P:
set PFPROG=P:
set PFDIR=\
set PFMENU=P:\fp\menus
set PFGLOB=
set PFCONFIG=
rem	set PFLMHOST=Server1
set PFLMHOST=Server2
REM following 2 lines were rem'd out
rem	call %pfprog%\fp\fp2rtf\getname.bat
rem	set pfpostprint=runbatch.bat
set PATH=%PFPROG%\fp;%PFPROG%\fp\fp2rtf;%path%
echo stuff > fp$$$$$$.bat
del fp$$*.bat>NUL
%pfprog%\fp\p.exe


More information about the Filepro-list mailing list