Maptitude GISDK Help |
Many GISDK functions take a full or partial path as an argument for a file or folder name. When using a string constant, you must use two backslashes ("\\") in the string for there to be a single backslash in the resulting string.
A partial path not starting with a backslash will be relative to the Maptitude program folder. A partial path starting with a single backslash will be relative to the root of the drive where Maptitude was installed. A path starting with two backslashes will be treated as a Universal Naming Convention (UNC) path.
Here are some examples, assuming Maptitude was installed in the Maptitude folder of the Program Files folder on your C: drive and Mycomp is the name of your computer:
String Constant |
Full Path |
"c:\\temp\\myfile.txt" |
c:\temp\myfile.txt |
"myfile.txt" |
c:\Program Files\Maptitude\myfile.txt |
"myfolder\\myfile.txt" |
c:\Program Files\Maptitude\myfolder\myfile.txt |
"\\\\Mycomp\\c\\temp\\myfile.txt |
\\Mycomp\c\temp\myfile.txt |
©2025 Caliper Corporation | www.caliper.com |