Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

CurDir

Example

CurDir()
CurDir(“D”)

Result:

C:\Documents and Settings\user\My Documents
D:\

Definition and Usage

The CurDir() function retrieves the full path for a specified drive in SQL.

Syntax

CurDir(drive)

Parameter Values

Parameter

Description

drive

Optional. Specifies the drive for which the full path is returned. If not specified, it defaults to the current drive.

Technical Details

Works in:

 From Access 2000