CurDir Function

Purpose

Returns a String representing the current path.

Syntax

CurDir[$]()

Description

Returns the current path for the application. For a network drive the return value won't contain a drive ("\\server\test\test").

Example

OpenW 1

Print "Current Directory: "; CurDir()

Remarks

Don't use commands or function that require a hard coded drive.

See Also

ChDir, _Drive

{Created by Sjouke Hamstra; Last updated: 27/09/2014 by James Gaite}