Microsoft SDK for Java

File.removeDirectory

Removes an existing empty directory.

Syntax

public static void removeDirectory( String path )

Parameters

path

The path of the directory to remove.

Exceptions

WinIOException thrown if an error occurs.

Remarks

The path must specify an empty directory, and the calling process must have delete access to the directory.

See Also   createDirectory

© 1999 Microsoft Corporation. All rights reserved. Terms of use.