Re: Divide a path into a Drivename, Pathname, and Filename?



> > there is also no absolute guarantee that '\' will turn
> > up in a file spec unless it is made (IIRC) canonical
>
> To be entirely honest I'm not entirely sure what this
> means, are you suggesting that you can have a file
> path without path delimiters?..

I wasn't sure what Jerry was referring to here either. The only thing I could think of is when the file referenced in the default directory...

c:YourFile.ext

Without the backslash, YourFile.ext is located on the c: drive in whatever the current directory of that drive is. Usually this referencing was used from a different drive than the one in the path. This is an old DOS "thing" and I'm not even sure if Windows still respects it; although the MSDOS Command Prompt window does. Drill down to a text file on some sub-directory on the c: drive (let's say it is named SomeTextFile.txt) and then switch to your d: drive (assuming you have one) by entering d: at the current (drilled-down directory location) command prompt. Now, entering this

type c:SomeTextFile.txt

will print (on the screen) the contents of SomeTextFile.txt over in that drilled-down sub-directory on the c: drive.

Rick
.



Relevant Pages

  • Re: VB setup problem
    ... > (especially the first paragraph). ... to be honest I didn't know the difference. ... Rick ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: digits following decimal - Price Intervals
    ... > I think perhaps you've misunderstood me Rick (or perhaps I've ... I'm not suggesting that you should attempt to find ... Prev by Date: ...
    (comp.lang.basic.visual.misc)
  • Re: Great SWT Program
    ... municipality has received from vendors? ... suggesting anything negative about my current place of employment ... it a bit offensive that you seem to be suggesting otherwise. ... If procurement decisions there are being based on anything but honest ...
    (comp.lang.java.programmer)
  • Re: Table problem
    ... Rick isn't suggesting that you split your fields and place them in two ... I would suggest you normalize your table. ... create a spreadsheet, not a relational database. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Daeron, the Troll
    ... You're nothing but a wintroll and a hypocrite. ... > Rick wrote: ... > To be quite honest I didn't click on the link. ...
    (alt.os.linux)

Quantcast