![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S-180: Adobe Reader and Acrobat Vulnerabilities | iBot | Security Advisories (RSS) | 0 | 02-13-2008 11:00 AM |
| TA08-043A: Adobe Reader and Acrobat Vulnerabilities | iBot | Security Advisories (RSS) | 0 | 02-12-2008 10:30 AM |
| absolute path | Kirichiko | UNIX for Dummies Questions & Answers | 2 | 10-03-2007 06:30 AM |
| $PWD shows absolute path vs path w/symbolic links | kornshellmaven | Shell Programming and Scripting | 3 | 06-13-2007 12:15 PM |
| vi - replacing a relative path with absolute path in a file | Yinzer955i | UNIX for Dummies Questions & Answers | 2 | 09-07-2006 11:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
absolute path for Acrobat reader
I would like to get the path of acrobat reader for any unix pc.
right now the path of acrobat reader is hardcoded BEGIN if :global.system = 'HP-UX' then HOST('/opt/Acrobat4/bin/acroread /export/USERGUIDE.pdf'); else v_path := 'HKEY_CLASSES_ROOT\acrobat\shell\open\command'; v_msg := Win_Api_Environment.Read_Registry(v_path,'',true); APPID := DDE.APP_BEGIN(v_msg,DDE.App_Mode_NORMAl); end if; END; Like in windows i can code to open acrobat reader whatever the windows with registry " v_path := 'HKEY_CLASSES_ROOT\acrobat\shell\open\command'; " is there a way to indicate the same thing for acrobat in unix? thanks you! |
|
||||
|
You can:
include the path where the reader resides in you PATH-variable; create a symbolic link in a directory which is already in the PATH, like /usr/local/bin; create an alias in the shell to expand a name to the fully qualified pathname write a wrapper-script, which calls the reader itself and which knows it absolute pathname, then put the wrapper-script in a directory included in PATH. And some more possibilities. Haven't i got your question right or was that really your problem? bakunin |
|
||||
|
thanks for you fast response, i dont have privilege on the machine to create a symbolic link.
I would like to open the acroread whatever the version the admin will upgrade so i dont have the rehardcoded. can i just code "/acroread /export/USERGUIDE.pdf'" ? |
|
||||
|
create a shell alias which expands to the fully qualified path.
If this changes it is easy to change the alias accordingly. bakunin |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|