Programming Reference Manual
CurDir
Syntax
CurDir[$]([Drive$])
Description
Return the current directory for
Drive$
.
Parameter
Description
Drive$
This string value is the drive letter. If this is omitted or
null
then return the current directory for the current drive.
See Also
ChDir
,
ChDrive
,
GetSpecialFolder
,
MakeNewDir
.
Example
Sub
Main
Debug
.
Print
CurDir
$()
End
Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Variable Info
Constant
Math
Financial
Strings
StringClass
Objects
Time/Date
File
File
ChDir
ChDrive
Close
CurDir
Dir
EOF
FileAttr
FileCopy
FileDateTime
FileLen
FreeFile
Get
GetAttr
Input #
Input$
Kill
Line Input
Loc
Lock
LOF
MkDir
Name
Open
Print
Put
Reset
RmDir
Seek
Seek #
SetAttr
Unlock
Write
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator