Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

File.setCurrentDirectory

Sets the current directory.

Syntax

public static void setCurrentDirectory( String path )

Parameters

path

Path of the new current directory.

Exceptions

WinIOException thrown if an error occurs.

Remarks

The path parameter specifies the path to the new current directory. This parameter can be a relative path or a fully qualified path. In either case, the fully qualified path of the specified directory is calculated and stored as the current directory.

See Also   getCurrentDirectory