Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileSystemInfo.FullPath Field

Represents the fully qualified path of the directory or file.

[Visual Basic]
Protected FullPath As String
protected string FullPath;
protected: String* FullPath;
protected var FullPath : String;


Notes to Inheritors:  Classes derived from FileSystemInfo can use the FullPath field to determine the full path of the object being manipulated.

The following table lists examples of other typical or related I/O tasks.

To do this... See the example in this topic...
Create a text file. Writing Text to a File
Write to a text file. Writing Text to a File
Read from a text file. Reading Text from a File
Sort files in a directory by size. GetFileSystemInfos
See the files in a directory. Name
See the subdirectories of a directory. GetDirectories


Determine if a file exists. File.Exists
Determine if a directory exists. Directory.Exists
Retrieve only the directory name from a path. GetDirectoryName
Retrieve the file name and extension from a path. GetFileName
Change the extension of a file. ChangeExtension


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

FileSystemInfo Class | FileSystemInfo Members | System.IO Namespace | Working with I/O | Reading Text from a File | Writing Text to a File

© 2015 Microsoft