. DirectXtras Home
        Home

DirectCommunication Xtra
DirectConnection Xtra
DirectControl Xtra
DirectEmail Xtra
DirectFTP Xtra
DirectImage Xtra
DirectInteraction Xtra
DirectOS Xtra
Documentation
License Agreement
Licensing Fees
Order Form
DirectSMS Xtra
DirectSound Xtra
DirectTransition Xtra
DirectTransition3D Xtra Set I
DirectTransition3D Xtra Set II
DirectTransition3D Xtra Set III
DirectTTS Xtra
XtrAgent
DirectXport Xtra

SpeechPlugin

Special Discounted Bundles

The Gallery
How To Order
Order Form
Check for Upgrades

Sign in
Change Your Profile

Contact Us
















    .
DirectXtras
Xtra Power for Director & Authorware



DirectOS Xtra
 Directing Windows and MacOS. The OS at your fingertips!

Authorware 4.x Compatible Authorware 5.x CompatibleAuthorware 6.x CompatibleAuthorware 7.x CompatibleDirector 5.x Compatible Director 6.x CompatibleDirector 7.x Compatible Director 8.x CompatibleDirector MX Compatible     MacOS 8.x and 9.x CompatibleMacOS X CompatibleWindows Compatible   

dosMoveFolder(string SourceFolderName, string TargetFolderName)

Moves the specified source folder to the specified target folder location. If the source folder is marked as read only, it is still moved. If the target folder exists, and both the source and target folders are located on the same drive, or if the target folder is a sub folder of the source folder, the function will fail. Otherwise, if the target and source folders are located on different drives, the function will copy the source folder to the target location in a similar way dosCopyFolder() copies folders and if the copy was successful it will delete the source folder. 

Parameters :

SourceFolderName : A string indicating the drive, location and name of the folder to move using a pathname. For example, "C:\Docs" on Windows or "My Mac:Docs" on MacOS. This parameter is case insensitive. On Windows, all files and folders in the pathname may be specified by their Windows name or MS-DOS name.
TargetFolderName : A string indicating the drive, location and name to move the source folder to using a pathname. For example, "C:\Docs\Target" on Windows or "My Mac:Docs:Target" on MacOS. This parameter is case insensitive. On Windows, all files and folders in the pathname may be specified by their Windows name or MS-DOS name.

Return Value : An integer indicating whether the method was successful or not. If 1 is returned, the method was successful. If 0 is returned, the method was not successful in which case dosGetLastError() should be called to determine the cause of the error. 

Possible Returned Error Codes via dosGetLastError() :
10013 : Invalid drive. 
10015 : Source folder does not exist. 
10020 : Drive is write disabled. The source or destination drive is write disabled. 



DirectXtras Inc.
P.O Box 2645, Menlo Park, CA, 94026, U.S.A
Voice: +1-415-5058249, Fax: +1-801-8585841
Toll Free: 1-800-4453093
E-mail General Information: info@directxtras.com
E-mail Technical Support: support@directxtras.com

Copyright 1996-2004 DirectXtras Inc. All Rights Reserved.
WebMaster: tamar@directxtras.com
Last Updated: 2/18/2002 3:15:48 PM.