www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - list system drives

reply =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KTQsNC0?= =?UTF-8?B?0LXQtdCy?= writes:
Give, please, Dlang tools for list system drives.

Some like a:
     enumVolumes(); // [ 'C:\', 'D:\' ]
Feb 01 2021
parent reply Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= <aferust gmail.com> writes:
On Tuesday, 2 February 2021 at 06:31:27 UTC, Виталий Фадеев wrote:
 Give, please, Dlang tools for list system drives.

 Some like a:
     enumVolumes(); // [ 'C:\', 'D:\' ]
I have found this code by a google search. I don't know who the author was. I had to touch it a little since the codebase was old. https://gist.github.com/aferust/5cc3209a6b6caf1062271a082c093b87
Feb 01 2021
parent =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KTQsNC0?= =?UTF-8?B?0LXQtdCy?= writes:
On Tuesday, 2 February 2021 at 07:18:02 UTC, Ferhat Kurtulmuş 
wrote:
 On Tuesday, 2 February 2021 at 06:31:27 UTC, Виталий Фадеев 
 wrote:
 Give, please, Dlang tools for list system drives.

 Some like a:
     enumVolumes(); // [ 'C:\', 'D:\' ]
I have found this code by a google search. I don't know who the author was. I had to touch it a little since the codebase was old. https://gist.github.com/aferust/5cc3209a6b6caf1062271a082c093b87
Thank!
Feb 01 2021