JCL Help:PathBuildRoot

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Creates a root path for the given drive number.


Pascal

 function PathBuildRoot(const Drive: Byte): string;


Parameters

Parameters Description
const Drive: Byte Drive number. Must be in the range 0..25 or an EJclPathError exception is raised.


Return Value

The root path for the given drive.


Description

PathBuildRoot creates a root path for the gives drive number. That is, if you pass in 0, 1, 2, you'll get back 'a:', 'b:' and 'c:' respectively.


About

Unit

JclFileUtils


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page