delorie.com/archives/browse.cgi | search |
Earnie Boyd wrote: > Charles Wilson wrote: > >>file://///Polgara/private/software/windows/cygwin-new/setup.ini >>file:////Polgara/private/software/windows/cygwin-new/setup.ini >> >> > > This makes sense. You need two // after file: and two // before > Polgara. The extra fifth / was just ignored. Sure, I understand that. (Side note: file://Polgara/... also works, for whatever reason). But here's the question: local_dir (as I typed it) already contained two leading '/' chars the concat call prepended "file://" with two more '/' chars 2+2 = 4 So why does the resulting filespec have only 3 '/' chars? Somewhere along the line, I don't know where, the local_dir I entered is having one of its leading '/' stripped... --Chuck
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |