Focal Point
Is there an APPROOT Query or function ?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4921036282

May 02, 2008, 01:00 AM
Dave Ayers
Is there an APPROOT Query or function ?
I would like to be able to get the path of the current APPROOT into a Dialog Manager &variable to make my focexec work in both our test and prod server environments without recoding it (we need an absolute path for some UNIX commands).

I've searched FP pretty hard, but didn't find the magic syntax, but did learn a bunch of other interesting stuff !

TIA,


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
May 02, 2008, 01:07 AM
Waz
If you need to get the Physical location of APPROOT try &APPROOT.

If you need to see App folders use APP LIST.

If you need to see the Folder Contents use APP QUERY {folder}

APP LIST AND QUERY have a HOLD option, so you can TABLE file result, FOCAPPL and FOCAPPQ.

Hope This Helps


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 02, 2008, 08:54 AM
TexasStingray
if you want to know the search order of the app use

? PATH

Tex




Scott

You can also use APP SHOWPATH


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

Waz,

quote:
&APPROOT


That did the trick just fine !

Big Thanks,


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server