Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / September 2004

Tip: Looking for answers? Try searching our database.

Parsing a filename

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard L Rosenheim - 20 Sep 2004 09:40 GMT
I have a recollection that somewhere in the .Net Framework are methods that
will parse a fully qualified filename into its components (path, base file
name, extension, etc.).  Unfortunately, I'm having trouble finding it
(assuming that my memory is correct).  Can someone point me to it?

TIA,

Richard Rosenheim
Jon Skeet [C# MVP] - 20 Sep 2004 09:47 GMT
> I have a recollection that somewhere in the .Net Framework are methods that
> will parse a fully qualified filename into its components (path, base file
> name, extension, etc.).  Unfortunately, I'm having trouble finding it
> (assuming that my memory is correct).  Can someone point me to it?

Look at FileInfo, DirectoryInfo etc.

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Dennis Myr?n - 20 Sep 2004 10:04 GMT
System.IO.Path

Signature

Regards,
Dennis JD Myr?n
Oslo Kodebureau

>I have a recollection that somewhere in the .Net Framework are methods that
> will parse a fully qualified filename into its components (path, base file
[quoted text clipped - 4 lines]
>
> Richard Rosenheim
Shiva - 20 Sep 2004 10:21 GMT
Hi,
Look at the System.IO.Path class methods.

I have a recollection that somewhere in the .Net Framework are methods that
will parse a fully qualified filename into its components (path, base file
name, extension, etc.).  Unfortunately, I'm having trouble finding it
(assuming that my memory is correct).  Can someone point me to it?

TIA,

Richard Rosenheim
Richard L Rosenheim - 21 Sep 2004 01:12 GMT
Thanks -- that's what I was looking for.

Richard Rosenheim

> Hi,
> Look at the System.IO.Path class methods.
[quoted text clipped - 7 lines]
>
> Richard Rosenheim

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.