FileSystem.GetFileDirectory(String) Method

Top 

Description

Returns the directory of the file located at path.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Method Signature

FileSystem.GetFileDirectory(

String path)

 

 

Arguments

path


Description:

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

 

 

 

Return Value

Type:

string

 

 

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

 

Syntax

myString1 = FileSystem.GetFileDirectory(myString2);

 

 

See also

FileSystem Object

Interfacing with Files Guide