. DirectXtras Home

DirectCommunication Xtra
DirectConnection Xtra
DirectControl Xtra
DirectEmail Xtra
DirectFTP Xtra
DirectImage Xtra
DirectInteraction Xtra
DirectOS Xtra
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
DirectXport Xtra


Special Discounted Bundles

The Gallery
How To Order
Order Form
Check for Upgrades

Sign in
Change Your Profile

Contact Us

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     Windows Compatible   

dosGetLongFileName(string FileName)

Returns the long pathname form of the pathname specified by FileName. Long pathnames are the fully expanded short pathnames, with no limitations on path length. FileName may specify either a file or a folder. 

Parameter :

FileName : A string specifying the short pathname to a file or folder whose long pathname is to be retrieved. For example "C:\Progra~1" would be inputed, and the returned value would be "C:\Program Files". You may include multiple short pathnames in your path. For example "C:\Progra~1\Micros~1". This function is not available on Windows 95.

Return Value : A string containing the long pathname form of fileName. If an error occurred an empty string is returned, in which case dosGetLastError() should be called to determine the cause of the error. 

Possible Returned Error Codes via dosGetLastError() :
10016 : File not found. 
10022 : Method is not supported on MacOS or Windows 95.

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: 12/20/2002 4:57:36 AM.