gl gl gl it gl ca gl gl en en gl en gl en gl gl gl gl gl ca gl gl en en gl en en en en
Modifica a unidade de disco actual.
Some DOS-specific file and directory functions are no longer provided in LibreOffice, or their function is only limited. For example, support for the ChDir, ChDrive and CurDir functions is not provided. Some DOS-specific properties are no longer used in functions that expect file properties as parameters (for example, to differentiate from concealed files and system files). This ensures the greatest possible level of platform independence for LibreOffice. Therefore this feature is subject to removal in a future release.
The ScriptForge library in LibreOffice 7.1 introduces the FileSystem service with methods to handle files and folders in user scripts.
Text: Any string expression that contains the drive letter of the new drive. If you want, you can use URL notation.
A unidade debe ter unha letra maiúscula. En Windows, a letra atribuída á unidade está restrinxida pola configuración de LASTDRV. Se o argumento da unidade é unha cadea de varios caracteres, só é relevante a primeira letra. Se tenta acceder a unha unidade inexistente, prodúcese un erro ao cal pode responder coa instrución OnError.
5 Chamada de procedemento incorrecta
68 Dispositivo non dispoñíbel
76 Ruta non atopada
Sub ExampleChDrive ChDrive "D" REM Só é posíbel se existe unha unidade 'D' End Sub
Precisamos da súa axuda!
Impressum (Legal Info) | Privacy Policy | Statutes (non-binding English translation) - Satzung (binding German version) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Mozilla Public License v2.0. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy. LibreOffice was based on OpenOffice.org.
Help content debug info:
This page is: /text/sbasic/shared/03020402.xhp
Title is: Instrución ChDrive