It used to be that in the past, I could key-in "% acrord32 c:\mypdf.pdf" top open a PDF file from within MicroStation but this seems to no longer work in SELECTseries, 2,3 or 4. Please advise. Thanks you
Unknown said:% acrord32 c:\mypdf.pdf
That MicroStation key-in sends an instruction to Windows to start application acrord32.exe and open the specified file.
For that to work, Windows must be able to find both the executable file and the data file. Your data file is fully-specified, so presumably Windows can't find acrord32.exe. If a file name is not fully-qualified (i.e. omits the full directory path) then Windows searches for it using the PATH environment variable.
When you first installed Adobe Reader, the installation added its location to the Windows PATH environment variable. You can check that by entering a similar key-in in a Windows command window...
acrord32 c:\mypdf.pdf
If that doesn't work, then it won't work in MicroStation either. Check your PATH environment variable and, if necessary, add the location of Adobe Reader.
Regards, Jon Summers LA Solutions
John,
Actually, this works as long as there is not a space in the file name. As an example, % acrord32 c:\my file.pdf file does not work, whereas % acrord32 c:\myfile.pdf does work.
PowerGEOPAK SELECTseries 4 08.11.09.872
José
I concur with Jose.
Any folder name or file names that contain a space will need the " ". If not it will only process up to the first space.
So in your example, the % acrord32 c:\my file.pdf MS would process this.... % acrord32 c:\my and ignore the ..file.pdf
Ian
Unknown said:I should have stated that I am opening the file programmatically (MDL)
That was a rather critical omission. In future, post questions about MDL to the MicroStation Programming Forum.
You can open programmatically any document — not only PDFs — whose type (file extension) is registered with Windows. This article Open a File with its Associated Application tells you how.