Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

SetAppPath

  • Last UpdatedOct 29, 2026
  • 1 minute read

Sets the new file path for the project folder. After this function is executed, Edge HMI will look for all of the project files (that is,screens, alarms, trends, database, events) in this folder.

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

SetAppPath

Module Activity

Synchronous

No

Supported

Not supported

Not supported

Executed on Server

Not supported

Syntax

SetAppPath ( strPath )

strPath

The file path.

Note: Follow the conventions of the target platform for the file path and name, and separators. For example, a file path in Windows starts with a drive letter and uses backward slashes as separators (C:\path\to\file), while a file path in Linux starts at the root directory and uses forward slashes as separators (/path/to/file).

Returned value

0

Failed to set path.

1

Succeeded in setting path

Examples

Tag Name

Expression

SetAppPath( "C:\Studio\" )

Note: If the computer is on a network, you can use the //IP address or host name/Path syntax to define a location on another node of the network.

In This Topic