July 05, 2007, 11:32 AM
Judsearch a directory on the server
is this possible with webfocus?
July 05, 2007, 11:49 AM
mgrackinYes. 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.
July 05, 2007, 11:57 AM
JudI 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
mgrackinI 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.
July 05, 2007, 01:08 PM
FortuneCookieAlternatively 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.