Open a .pdf file after take the build from windows

Hi,

I have project which is have this function. After i take the build i need to open the pdf file. I had one button in my scene i did code for that button when i click that button tha pdf should open.

I use this code to do that function:

System.Diagnostics.Process.Start("AcroRd32.exe", "AC_Data/Resources/Test.pdf");

i copy my pdf file in Data/ Resources folder and i use that above code.
But its not open i dont know whats the problemm in this.
please help me to find the solution
its very urgent

Regards,
SChetty

I got this working on my end. At first I got an “Access Denied” error in reader, but just had to right click on pdf file in explorer, then unblock the file. You shouldn’t have that problem, just try this:

using UnityEngine;
using System.Collections;
using System.Diagnostics;

public class AcroTest : MonoBehaviour 
{
	ProcessStartInfo process;
	
	void Start () 
	{
		process = new ProcessStartInfo("AcroRd32.exe", Application.dataPath+"/Resources/Test.pdf");
		Process.Start(process);
	}
}

I hope it’s for standalone. Maybe look at this or this.

Maybe you need to use the absolute path.

PDF docs can be opened with the help of pdf file recovery

Look at http://www.oemailrecovery.com/pdf_recovery.html