Parsing a filename

  • Thread starter Thread starter Richard L Rosenheim
  • Start date Start date
R

Richard L Rosenheim

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 said:
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.
 
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
 
Back
Top