ChDrive Statement

མིག་མདུན་སྒུལ་ཆས་བཟོ་བཅོས།

warning

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.


note

The ScriptForge library in LibreOffice 7.1 introduces the FileSystem service with methods to handle files and folders in user scripts.


Syntax:


  ChDrive Text As String

Parameters:

Text སྒུལ་ཆས་ཨང་གསར་པ་ལྡན་པའི་ཡིག་རྟགས་ཕྲེང་གང་རུང་གི་མཚོན་ཚུལ། གལ་ཏེ་དགོས་མཁོ་ཡོད་ན་ URL མཚོན་ཐབས་སྤྱད་ཀྱང་ཆོག་

སྒུལ་ཆས་ཨང་ནི་ངེས་པར་དུ་ཡིག་ཆེན་ཡིག་འབྲུ་སྤྱོད། Windows ཁོར་ཡུག་འོག་སྒུལ་ཆས་ལ་གཏན་འཁེལ་གྱི་ཡིག་འབྲུར་ LASTDRV བཀོད་སྒྲིག་གི་ཚོད་འཛིན་ཕོག། གལ་སྲིད་སྒུལ་ཆས་ཀྱི་རང་འགྱུར་ཚད་ནི་ཡིག་རྟགས་མང་བའི་ཡིག་རྟགས་ཕྲེང་བ་ཞིག་ཡིན་ན་ཡིག་འབྲུ་དང་པོ་ཁོ་ན་སྤྱོད། འཚམས་འདྲི་བྱ་ཡུལ་གྱི་སྒུལ་ཆས་མི་གནས་པའི་སྐབས་ནོར་འཁྲུལ་ཐོན་ རྗོད་པ་ OnError བརྒྱུད་ནས་ནོར་འཁྲུལ་འདི་ལ་བརྡ་ལན་ཞུས་ཆོག་

Error codes:

5 ནུས་མེད་ཀྱི་བརྒྱུད་རིམ་འཁོར་སྤྱོད་

68 སྒྲིག་ཆས་68 སྒྲིག་ཆས་68 སྒྲིག་ཆས་

76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་76 རྒྱུད་ལག་འཚམས་མ་ཐུབ་པ་

Example:


  Sub ExampleChDrive
      ChDrive "D" REM    ངེས་པར་དུ་སྒུལ་ཆས་'D'གནས་པ་དགོས།
  End Sub

Please support us!