How to use scripting to open a folder

image
I have a network path:
\192.168.17.9\Pictures\CureSheetPhoto\SparePartsDocument\999820\COPP PISTSLKIT 2
I want to know whether I can use scripting by click one button to open that folder like the following picture

system.net.openURL("C:\\Temp\\testing\\")

Make sure your gateway has access to the share (in ignition.conf)

1 Like

it works, thanks a lot

2 Likes

You can also replace all the backslashes with forwardslashes, then you won’t have to escape them

1 Like