So here is the scenario: I am opening a file (PDF) through a WPS object (so a standard 'double-click' on a PDF file applies here that would call the program object), and that WPS program object invokes a REXX script and/or CMD file...so how can I reference the passed filename (that PDF file I double clicked on) within that REXX/CMD file?
Is it as simple as doing 'parse arg filename' within the REXX/CMD script?
...and NO, I haven't tried any of these yet, I figured I would ask here instead of trying 10 different 'trial&error' attempts! lol
Thanks!
EDIT
====
BTW - In this case, I actually want the fully qualified filename, so drive, path & filename as I need to copy this PDF to another place.