ChDir Statement [Runtime] /text/sbasic/shared/03020401.xhp Sun Microsystems, Inc. converted from old format - fpe
ChDir statement mw changed index entry ChDir Statement [Runtime] Changes the current directory or drive.
This runtime statement currently does not work as documented. See this issue for more information.
Syntax: ChDir Text As String Parameters: 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. Example: 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