DirectoryMove Method |
Name | Description | |
---|---|---|
Move(String, String) | Moves a file or a directory and its contents to a new location.
Remarks This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. | |
Move(String, String, MoveOptions) | [AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified.
Remarks This method does not work across disk volumes unless moveOptions contains CopyAllowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. | |
Move(String, String, PathFormat) | [AlphaFS] Moves a file or a directory and its contents to a new location.
Remarks This method does not work across disk volumes. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. | |
Move(String, String, MoveOptions, PathFormat) | [AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified.
Remarks This method does not work across disk volumes unless moveOptions contains CopyAllowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. | |
Move(String, String, MoveOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified,
and the possibility of notifying the application of its progress through a callback function.
Remarks This method does not work across disk volumes unless moveOptions contains CopyAllowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. | |
Move(String, String, MoveOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified,
and the possibility of notifying the application of its progress through a callback function.
Remarks This method does not work across disk volumes unless moveOptions contains CopyAllowed. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |