fp and windows fpplus.bat

Nancy Palmquist nlp at vss3.com
Fri Nov 3 11:58:05 PST 2006


Scott Nelson wrote:
> I am trying to set up a system so each user will have separate filepro 
> programs and data.
> 
> I have fp 5.0 on windows 2000 and trying to edit the fpplus.bat file as 
> follows:
> 
> set PFDATA=c:
> set PFDIR=\"Documents and Settings"\%username%
> 
> the other settings are not changed
> 
> when running the fpplus.bat file, the filepro menu appears, but when 
> looking in define whatever I get:
> 
> ther are no filepro files in
> c:\"Documents and Settings"\scott/filepro/
> 
> yet the folder named filepro is there with all the files
> 
> 
> 
> Scott Nelson
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 
> 

I do not think filePro understands your pathing. what I do then is this:


You could use subst as follows to change C:\"Documents and Settings" to 
a drive letter

subst Y: "c:/Documents and Settings"

set PFDATA=y:
set PFDIR=%username%

That will do it.

When the user leaves the bat file add this command.

subst y: /D

It will report errors if the user opens a second window since the subst 
is already done.  If that will be the case, you might want the subst to 
happen before they start selecting stuff on the desktop.  Not sure where 
you put that in Windows.

I have used this often when pathing is long or did not comply with the 
older naming.  I think 5.6 might be better able to handle it but just in 
case, hope this helps

-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com


More information about the Filepro-list mailing list