PAC Display - Use Launch Application button to launch a specific folder

Hi everybody, I was wondering if anybody knows how to launch a specific windows explorer folder location from PAC Display? I’m thinking that using the launch application graphic attributes tied to a button could work, but I don’t know how to get it to launch a specific location. Any ideas?

Just put the path you want in after the exe;

image

1 Like

yes! I can’t believe all the years that I haven’t utilized this, the hours I’ve spent making tutorials for users to make their way to the historical log folder… Thanks Ben!

1 Like

Is it possible to do this same thing with an http address within Edge? We just installed a new data historian on a local server and I’d like to directly link to a specific trend that is accessible through MS edge. Thanks.

I was able to launch a specific webpage in msedge.exe using this for the “Command Line:” in PAC Display

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe " “https://www.opto22.com/

That’s two paths surrounded by double quotes

  1. The path to msedge.exe in Windows
  2. The URL we want msedge.exe to open when it starts

This should work for you if you replace the 2nd argument there with the URL to your trend.

Thanks for your reply @ccaldwell, are you using Windows 10 or 11? I’ve been trying to implement this on W11 with limited success, Edge opens but doesn’t go to the URL. I just tried it on Win10 and it works just as expected. Any ideas why the issue would be specific to Win11? I’m thinking there is a setting I can change to allow this to work that Edge is blocking in Win11.

My pleasure, Robbie.

When I tested this it was on Win11.

Unfortunately, I can’t imagine why Edge would open your URL properly on Win10, but not Win11. If the strings are the same in PAC Display when you’re testing, and Edge is opening in both cases it should just work.

If you’re comfortable sharing the Command Line arguments your working with I might be able to help more.

Thanks @ccaldwell, I found my issue…user error. Appreciate your time.

2 Likes