Shared Directory Path Conventions

The controllers support access to a shared directory on a remote computer.

To access files in a shared directory from the controller, use /mount/shared at the beginning of the path, before the shared directory's relative path and file name:

/mount/shared/directory/filename
Valid Paths Notes

/mount/shared

mount/shared

\mount\shared

mount\shared

  • The path is not case sensitive.
  • The /MOUNT/SHARED, MOUNT/SHARED/, etc. are also valid.

Example 1

Opening the file example.txt from a shared directory on a remote computer.

fileID := Inst_FileOpenA(TRUE,'/mount/shared/example.txt');

Example 2

Opening the file myfiles/example.txt from a shared directory on a remote computer.

fileID := Inst_FileOpenA(TRUE,'/mount/shared/myfiles/example.txt');

See Also