Using Win32 functions in Visual FoxPro Image Gallery
File Management
..msdn
CopyFile
CopyFileTransacted
CreateDirectory
CreateFile
CreateFileTransacted
CreateHardLink
CreateSymbolicLink
DeleteFile
DeleteFileTransacted
FindClose
FindCloseChangeNotification
FindFirstChangeNotification
FindFirstFile
FindNextChangeNotification
FindNextFile
FlushFileBuffers
GetBinaryType
GetCurrentDirectory
GetDriveType
GetFileAttributes
GetFileAttributesEx
GetFileInformationByHandle
GetFileType
GetFullPathName
GetLongPathName
GetShortPathName
GetTempFileName
GetTempPath
LockFile
MoveFile
MoveFileTransacted
OpenFile
QueryDosDevice
ReadDirectoryChangesW
ReadFile
RemoveDirectory
RemoveDirectoryTransacted
ReplaceFile
SearchPath
SetCurrentDirectory
SetEndOfFile
SetFileAttributes
SetFilePointer
SetFilePointerEx
SetSearchPathMode
UnlockFile
WriteFile
_lclose
_lopen
Code examples:
Converting long file names to the short format and vice versa
Converting path to original case
Converting long file names to the short format and vice versa

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Versions:
click to open
Before you begin:
See also:
  • How to access a file using not its name but an alias (hard link)

  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    1105 bytes  
    Created: 2001-07-19 12:00:00  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 65  
    Listed functions:
    GetLastError
    GetLongPathName
    GetShortPathName
    Printer friendly API declarations
    My comment:
    The "short path" means the 8.3 compliant path/filename. The source path must be always valid. You can not convert the name of a file that does not exist.

    See also: PathGetShortPath.
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.


    Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (23.22.252.150)
    3 sec.Example: 'How to copy the image of a form to the Clipboard using Bitmap API functions'
    3.99 hrs.Function: 'WinHttpCrackUrl'
    Function group: 'HTTP Functions (WinHTTP)'
     Function: 'CryptGenKey'
    Function group: 'Cryptography Reference'
    8.45 hrs.Function: 'GetModuleFileName'
    Function group: 'Dynamic-Link Library'
     Function: 'OpenService'
    Function group: 'Service'
    12.62 hrs.Function: 'AVIFileGetStream'
    Function group: 'Windows Multimedia'
     Function: 'waveOutReset'
     Function: 'GetTextFace'
    17.45 hrs.Function: 'GdipGetFamilyName'
     Example: 'How to enable the SE_SHUTDOWN_NAME privilege for the application'
    Google
    Advertise here!