FileSystem.GetFileName(String) Method

Top 

Description

Returns the file name of the file located at path.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

FileSystem.GetFileName(

String path)

 

 

Arguments

path


Description:

The path to the file whose file name is to be returned.

 

 

 

Return Value

Type:

string

 

 

Returns the file name of the file specified by the path argument.

 

Syntax

myString1 = FileSystem.GetFileName(myString2);

 

 

See also

FileSystem Object

Interfacing with Files Guide