Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > ChDir StatementThis standard VB statement changes the default folder for the specified drive. SyntaxChDir [drive][[\]folder\]folder ReturnsUsageIf the drive argument is omitted, ChDir changes the default folder on the current drive. If the initial backslash in [\]folder\ is omitted, ChDir changes to a folder within the current folder. If it is included, the path is followed from the root folder. The ChDir statement does not change the default drive. To change the default drive, use ChDrive. ExampleThis example changes the current folder to Sub Button_Click See AlsoChDrive Statement |
Siebel VB Language Reference |