If you know the full path to your manual, then you can use the string "CMD.EXE /C C:\The\Full\Path\To\YourFile.pdf". This is like typing the path into the command prompt program. Windows (at least 2000) will try to open the file with whatever program is associated with the extention.
If you don't known exactly where your program will be installed. (Maybe the H: Drive? I've seen weirder). Then it may be better to do this: set the command line to "CMD.EXE /C YourFile.pdf", set the Working Directory to the directly that your manual is in. How do you know this? You can use the 'Current VI's Path' constant and strip/build your path from there. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sergey Liberman > Sent: Thursday, June 17, 2004 2:38 PM > To: Info-LabVIEW > Subject: Opening Acrobat Doc from LV > > > Hi all, > > I am trying to open an Adobe Acrobat document (a manual for > my program) from > a LabVIEW program that will be deployed on a customer's > computer. I was able > to do it using System Exec with a command line like > > "C:\Program Files\Adobe\Acrobat 5.0\AcroRd32.exe" "C:\Manuals\My > Manual.pdf" > > For that, I needed to find the absolute path to the Acrobat > Reader on the > target computer which I do by interrogating the Windows > registry. It works > fine, but I have a feeling that the same goal can be achieved > by simpler > means. Anyone can tip me on how to do it? > > Thanks, > > Sergey Liberman [EMAIL PROTECTED] > Solidus Integration http://solidusintegration.com > > >