# MX\_DIRSEP
> [HTML Version](mx_dirsep.htm)
_Reviewed and revised May 2024_
**xcall MIAMEX, MX\_DIRSEP, character**
MX\_DIRSEP (MIAMEX 22) returns a single byte parameter (usually a string) into which the directory separator character is placed. This is the character used in specifying host pathnames, and is usually a forward slash ( / ) for Unix systems, and a backslash ( \\ ) for Windows systems. Knowing this is useful when parsing native filespecs and also as a quick way of determining which of the two classes of operating systems you are running on.