Thought we haqd it...but...

Jose Lerebours fpgroups at gmail.com
Mon Apr 15 12:15:32 UTC 2024


On 4/14/24 07:26, john at timescape.com wrote:
> Am I allowed to put the drive letter of the mapped drive into the PATH variable as I have done?
> Maybe*this*  is being ignored or something, which means it would very definitely find some other p.exe than I want it to find...
>   

Yes, batch files will work just fine by using variables to reference 
paths, documents; I do that all the time with fp menu's scripts

set fn = "someFile"
set fp = "c:\appl\fp\rreport"
set fo = "someFormat"
set fz = "someProcessing"
set fy = "someProcessing"
set fv = "someProcessing"

%fp% %fn% -f %fo% -z %fz% -y %fy% -v %fv% ...

I use this when the command is so long that it cannot fit in a single line.


If I am not mistaken, network/mapped drives may be restricted by user 
and if that is the case, what happens if user cannot see/access the 
mapped drive?  Move on to the next possible path?


Regards,


Jose Lerebours

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20240415/ac5b696f/attachment.html>


More information about the Filepro-list mailing list