Forum Post: RE: Drive letters in Windows

  • Thread starter Thread starter Marko Myllymäki
  • Start date Start date
Status
Not open for further replies.
M

Marko Myllymäki

Guest
It seems that if you have a relative path starting with ".\" or "..\" then file-info returns the full path including the drive letter. But, if the file path begins like "\work\IS\..." then the drive letter is not included. Maybe a simple solution would be to check if the full-pathname begins with "\" (and NOT with "\\") and if so, add the drive letter (= the drive of the working directory) in front of it?

Continue reading...
 
Status
Not open for further replies.
Back
Top