I was going to say... it sounds like a perfect time for the OP to create
his/her first web application vs trying to make green screen do something
it was never meant to. :)

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #11 <https://www.bvstools.com/mailtool.html>: Save Emails
- Save emails that are sent out at a global, user or individual email
level.

On Sat, Mar 2, 2019 at 6:37 PM midrange <franz9000@xxxxxxxxx> wrote:

I have provided a similar solution from green screen, not tried wild cards
specifically, but found
That the most stable way to do this was to call a browser :
http://your local file structure/file name
browsers understand directory structure
browsers can open (pdf, tif, etc ) - in our case it was .tif
of course a web server under qhttpsvr needs to run and be configured to
allow those directories.
But it has run for years flawlessly.
To get around the long url and the limits in the command we did create a
symlnk.
Its been a while... if any of the above makes no sense I can try to dig up
the code.
I didn't come up with this on my own - some article pointed me there.
Jim Franz

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of
Gad Miron
Sent: Saturday, March 02, 2019 8:19 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Getting to network placed documents from green-screen apps

Hello sages

I could use a helping hand with this:

For some time now we store customer PDF documents on a network share
directories, tree arranged by customer No. this way:
Customers (Directory of all customers)
Cst0000001 (sub directory of Customer No 1)
Ord00001.pdf (order No 1)
Ord00044.pdf
Inv00007.pdf (Invoice No 7)
Inv00023.pdf
.
.
Cst0000002 (sub directory of Customer No 2)
Ord000020.pdf
Ord00005.pdf
Inv00002.pdf
Inv000055.pdf

Cst0000003 (sub directory of Customer No 3)

etc..

When a (green screen) user wants to display a certain PDF doc (say order no
44)
We construct an appropriate path like \Customers\Cst0000001\Ord00044.pdf
and call STRPCCMD to open it on his/her PC.
We also let users see all documents in a customer directory by constructing
a suitable path (like \Customers\Cst0000001\ ).

Now,
Users are asking to display customer's invoices only (or orders only or any
other sub set).
but using wild-cards with STRPCCMD like in \Customers\Cst0000001\Inv*.pdf
does not produce anything (it hangs).

Does anyone here know how it can be done?

TIA
Gad
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.