IBM Lotus Symphony
|
Changes the current directory or drive.
ChDir Text As String
Text: Any string expression that specifies the directory path or drive.
![]() |
If you only want to change the current drive, enter the drive letter followed by a colon. |
Sub ExampleChDir
Dim sDir1 as String , sDir2 as String
sDir1 = "c:\Test"
sDir2 = "d:\private"
ChDir( sDir1 )
msgbox CurDir
ChDir( sDir2 )
msgbox CurDir
end sub