Focal Point
search a directory on the server

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

July 05, 2007, 11:32 AM
Jud
search a directory on the server
is this possible with webfocus?
July 05, 2007, 11:49 AM
mgrackin
Yes. What exactly are you trying to do? What platform/operating system are you running WF on? What version of WF are you using.

Please add version and platform information to your signature in your profile.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 05, 2007, 11:57 AM
Jud
I am running webfocus 7 on windows NT
ill get the sig up

what I need to do is display all pdfs in a folder on the server
July 05, 2007, 12:32 PM
mgrackin
I have a directory on our server that contains PDF documents. I added this directory to the APP PATH which then allows me to do an APP QUERY PDFDIRNAME HOLD. This will create a HOLD file called FOCAPPQ which contains information about all the files in that directory. Do a TABLE FILE FOCAPPQ to look for the filename.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 05, 2007, 01:08 PM
FortuneCookie
Alternatively you can have WebFOCUS invoke a BATCH file that simply does something like this:

CD
dir /b *.pdf > pdffiles.txt

a .txt file will be created with all the PDF files.


Prod: WebFOCUS 7.1.6, Windows 2003

Dev: WebFOCUS 7.6.2, Windows 2003