make a button in unity to open an external windows application.

Hello

I want to make a button in some area in my game. when the player find it and press, an external application with exe extension should be run. can i do this with unity. if i can how ??? thanks

As addition to SpikeX answer and your comment:

You can use

// Goes in OnGUI():
if(GUI.Button(new Rect(15, 15, 95, 35), "Open my Application"))
{
  // Application.dataPath will return your projects' Data folder path
  System.Diagnostics.Process.Start(Application.dataPath + "/myApplication.exe");
}

You will have to copy your "myApplication.exe" to your Data folder whenever you build your game (or write a postProcess script that does that for you, but that would be probably overpowered).

It's pretty easy (you can't do this with the web player):

// Goes in OnGUI():
if(GUI.Button(new Rect(15, 15, 95, 35), "Open Notepad"))
{
     System.Diagnostics.Process.Start("notepad.exe");
}