isnt "Drive:" just a Windows thing though? like would you return /mnt/something on Linux or? another thing to consider is other path formats on Windows like UNC "\\ComputerName\SharedFolder\Resource" or Long UNC "\\?\UNC\ComputerName\SharedFolder\Resource"
btw i wouldn't mind a GetProgramPath(), life's too short for GetPathPart(ProgramFilename()) hehe #mygrowinglistof1stworldproblems
Old topic, although even older feature request of the same at viewtopic.php?t=30585 by PB Tue Jan 15, 2008. I agree, would be convenient feature to complement the existing filesystem library but I do understand Drive being part of the command name would be misleading under the other OSes. How abouts GetRootPart(), better?
IdeasVacuum wrote: Fri Jan 27, 2017 7:39 am
We have GetPathPart(), GetFilePart() and GetExtensionPart().
GetDrivePart() is missing
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."