Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The / (slash) is not a special character and can be used unescaped. This allows Linux paths and also Windows path to be written in to the configuration file as is.

The \ (backslash), however, needs to be escaped as it is interpreted as escape character. So to use when using Windows paths in the configuration file with backslash, it must be escaped to \\ (double backslash) needs to be used for each backslash in Windows paths.

Examples:

Code Block
# A Linux path 
Directory=/var/coreoftia/config 

# A Windows pathpaths 
Directory=C:\\test\\repository 
Directory2=C:/test/repository2

# A UNC path 
Directory=\\\\10.9.8.7\\ARCHIVE

...