| Bookshelf Home | Contents | Index | PDF | ![]() |
|
Siebel VB Language Reference > Methods Reference for Siebel VB > Disk and Directory Control Methods > Get Current Directory MethodThe Get Current Directory method returns the default directory of a drive. If you specify a null ("") drive argument, or if you do not include the drive argument, then it returns the path for the default drive. The drive that this method examines must exist and it must be in the range that the LASTDRIVE statement in the config.sys file specifies. You can use a colon as part of the name of the drive but it is not required. To change the current drive, you use the Change Drive method. To change the current directory, you use the Change Directory method. FormatFor information about the dollar sign, see Usage of the Dollar Sign. The following table describes the arguments that you can use with this method. ExampleThe following example changes the current directory to Sub Button_Click |
![]() |
![]() |
| Siebel VB Language Reference | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |