The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-23-2007
ramirezmc ramirezmc is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 2
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!