I'm new here and have not used Unix/Linux in over 20 years, so here is what I want to do.
I am using cPanel Linux to host my website and the users will be PC's, Mac's etc.
I have a directory, D1, called Newsletters. In Newsletters is another directory, D2, called Previous Newsletters.
I want to select a executable file in D1 that opens a "PDF" file in D2.
This happens from a web browser.
How do I create the executable with the appropriate commands?
UPDATE
After a reply with some suggestions, I decided this is is not the way to do what I need. I will do it in a combination of html and JS or php.
Sonarman
I am using cPanel Linux to host my website and the users will be PC's, Mac's etc.
I have a directory, D1, called Newsletters. In Newsletters is another directory, D2, called Previous Newsletters.
I want to select a executable file in D1 that opens a "PDF" file in D2.
This happens from a web browser.
How do I create the executable with the appropriate commands?
UPDATE
After a reply with some suggestions, I decided this is is not the way to do what I need. I will do it in a combination of html and JS or php.
Sonarman
Last edited: