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:

ཚིག་ཡིག: ཡིག་རྒྱུན་གསལ་བརྗོད་གང་རུང་འདི་དྲེན་འཕྲུལ་གསརཔ་གི་དྲེན་འཕྲུལ་ཡིག་གུ་འདི་ནང་ན་ཡོདཔ་ཨིན། ཁྱོད་ཀྱིས་ཡང་ ཡུ་ཨར་ཨེལ་དབྱངས་རྟགས་འདི་ལག་ལེན་འཐབ་བཏུབ་ཨིན།.

དྲན་འཕྲུལ་དེ་ཚུགས་ཡིག་གི་ཡིག་གུ་ཅིག་སྦེ་འགན་སྤྲོད་དགོཔ་ཨིན། ཝིན་ཌོསི་གི་འོག་ལུ་ ཁྱོད་ཀྱིས་འགན་སྤྲོད་མི་དྲེན་འཕྲུལ་དེ་ མཇུག་དྲེན་འཕྲུལ་་ནང་སྒྲིག་སྟངས་ཚུ་གིས་འབད་བསྐྱར་ལོག་དམ་དྲགས་འབད་ཡོདཔ་ཨིན། དྲན་འཕྲུལ་སྒྲུག་རྟགས་དེ་སྣ་མང་ཡིག་འབྲུ་ཡིག་རྒྱུན་ཨིན་པ་ཅིན་ ཡིག་གུ་དང་པམ་རྐྱངམ་ཅིག་འབྲེལ་བ་ཡོདཔ་ཨིན། ཁྱོད་ཀྱིས་གནས་པ་མེད་པའི་དྲན་འཕྲུལ་ཅིག་འཛུལ་སྤྱོད་འབད་ནི་ལུ་དཔའ་བཅམ་པ་ཅིན་་འཛོལ་བ་ཅིག་ཁྱོད་ཀྱིས་ལན་བཀོད་ནི་དང་གཅིག་ཁར་འཛོལ་བ་གུ་གསལ་བཤད་དེ་འབྱུངམ་ཨིན།

Error codes:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

༦༨ ཐབས་འཕྲུལ་ཐོབ་མ་ཚུགསཔ ༦༨ ཐབས་འཕྲུལ་ཐོབ་མ་ཚུགསཔ ༦༨ ཐབས་འཕྲུལ་ཐོབ་མ་ཚུགསཔ

༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ ༧༦ འགྲུལ་ལམ་འཚོལ་མ་ཐོབ

Example:


  Sub ExampleChDrive
      སི་ཨེཆ་འདྲེན་འཕྲུལ་ "D" རིམ་རྐྱངམ་ཅིག་ཚུགས་ 'D' ཡོད་པ་ཅིན།
  End Sub

Please support us!