Re: Divide a path into a Drivename, Pathname, and Filename?
- From: "Rick Rothstein" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Jul 2005 09:31:21 -0400
> > 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
.
- Follow-Ups:
- Re: Divide a path into a Drivename, Pathname, and Filename?
- From: Mike D Sutton
- Re: Divide a path into a Drivename, Pathname, and Filename?
- References:
- Divide a path into a Drivename, Pathname, and Filename?
- From: Stan Hilliard
- Re: Divide a path into a Drivename, Pathname, and Filename?
- From: Mike D Sutton
- Re: Divide a path into a Drivename, Pathname, and Filename?
- From: J French
- Re: Divide a path into a Drivename, Pathname, and Filename?
- From: Mike D Sutton
- Divide a path into a Drivename, Pathname, and Filename?
- Prev by Date: Re: Resizing form
- Next by Date: Re: Divide a path into a Drivename, Pathname, and Filename?
- Previous by thread: Re: Divide a path into a Drivename, Pathname, and Filename?
- Next by thread: Re: Divide a path into a Drivename, Pathname, and Filename?
- Index(es):
Relevant Pages
|