<p class="Paragraph">Text: Any string expression that specifies an existing drive for which to return the current path (e.g., "C" for the first partition of the first hard drive).</p>
<p class="Paragraph">If no drive is specified or if the drive is a zero-length string (""), CurDir returns the path for the current drive. OpenOffice.org Basic reports an error if the syntax of the drive description is incorrect or a drive is defined which either does not exist or is found after the drive defined in the CONFIG.SYS with the Lastdrive statement.</p>
<p class="Paragraph">This function is not case-sensitive.</p>