Dual Platform paths are used to write file and directory paths that interoperate between Windows and Unix operating systems. For example, you can use either forward or backward slashes to specify a path name.
Paths are used by Open commands, Trace commands, and in Class Map files. To write portable code you should avoid using platform specific paths. For example, although using drive letters is supported they are unique to Windows.
/ \ Forward or backward slashes may be used to separate path components. - A lead dash on a path will access the HOME directory. // \\ Double leading slashes denotes a network server. ' " One or more path components can be quoted to accomodate special characters. . A lead component that is a dot references the current working dirctory. : On Windows a drive is selected with a lead drive letter and colon.
Path names are also case insensitive. With Unix file systems quoted components are case sensitive.
'c:\program files' On Windows this is not case sensitive. 'c:/program files' A forward slash works on Windows as well. "c:program files" A slash after the drive letter is optional. c:'program files' Individual path components can be quoted.
Wildcards in components select multiple components. An star is implicitly added to the end of each component. It can be suppressed by adding a trailing tick to the component. A quote at the end of a component also suppresses the trailing star.
* A star matches zero or more characters. ` Suppress an implicit trailing star. . A component that is a single dot is the same as a star. .. A component that consists of multiple dots references up level directories ! Match a single character. ? Match zero or one character. # Match a single decimal digit.
Here are some wildcard examples.
.s items with a leading '.s' in the current directory s items with a leading 's' in the current directory s* items with a leading 's' in the current directory ./s items with a leading 's' in the current directory ./s* items with a leading 's' in the current directory .\s items with a leading 's' in the current directory .\s* items with a leading 's' in the current directory * all files and directories in the current directory . all files and directories in the current directory ./* all files and directories in the current directory ./. all files and directories in the current directory .\* all files and directories in the current directory .\. all files and directories in the current directory */* all files and directories down one level */. all files and directories down one level .//* all files and directories down one level .//*. all files and directories down one level *//* all files and directories down one level *//. all files and directories down one level .///* all files and directories down one level .///. all files and directories down one level ./ directories in the current directory */ directories in the current directory ./s/ directories with a leading 's' in the current directory ./s/ directories with a leading 's' in the current directory ..s items with a leading 's' in the directory one level up ../s items with a leading 's' in the directory one level up ...s items with a leading 's' in the directory two levels up .../s items with a leading 's' in the directory two levels up ../../s items with a leading 's' in the directory two levels up / items in the top level directory /. items in the top level directory /* items in the top level directory c: items in the top level directory c:/ items in the top level directory c:/* items in the top level directory c:/. items in the top level directory *: all drives .: all drives // all accesible network diretories