Applies To:
  • CitectSCADA 5.xx, 6.xx, 7.xx
  • Vijeo Citect 6.10, 7.xx  

You may have a need to open up a folder's contents via Citect after some user action. This can be achieved via Cicode.


To open up a folder's contents via Cicode, you need to call the Exec Cicode function to execute the Windows Explorer. For example, if the folder you would like to open is C:\Manuals then you would need to call the following Cicode:

Exec("Explorer C:\Manuals")

This will bring up your standard Windows Explorer window, allowing users to navigate away from this location. Alternatively, you could try calling the following Cicode:

Exec("Explorer /root,C:\Manuals")

This will make C:\Manuals the root folder and therefore you won't be able to go higher than that with the folder 'Up' button. This is good if you would like to restrict users from navigating to other locations.

Windows Explorer, Exec, Folder