ChDir Statement [Runtime]/text/sbasic/shared/03020401.xhpSun Microsystems, Inc.converted from old format - fpeChDir statementmw changed index entryChDir 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 StringParameters: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 ExampleChDirDim sDir1 as String , sDir2 as StringsDir1 = "c:\Test"sDir2 = "d:\private"ChDir( sDir1 )msgbox CurDirChDir( sDir2 )msgbox CurDirend sub