property File.RelativeName as String
Retrieves the relative name of the file.
Type
Description
String
A string value that indicates the file/folder's relative name.
The RelativeName property is read-only. The relative name of the object does not include the folder being referred by the
ExploreFromHere
property. The
FullName
property gets the full path for the file or folder. Use
Folder
property to check whether the File object contains a file or a folder. Use the
Name
to get the displayed file/folder's name. For instance, if the ExploreFromHere' is 'C:\TEMP' and you browse in that folder to 'C:\TEMP\TEXT\OWN\abc.txt' the RelativeName property returns '\TEXT\OWN\abc.txt', so not the full name and path but the relative path to ExploreFromHere property.
Send comments on this topic.
© 1999-2010
Exontrol.COM, Software
. All rights reserved.