Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy a file to an Empty Folder
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01101321
Message ID:
01101383
Vues:
10
Hi Friends,

Thank you for all the answers but i created the function below that work ok
*--------------------------------------------------------
  Function GetDOSPath(cWinPath) && Return a valid DOS PATH
*--------------------------------------------------------
 LOCAL nBuffer 
 LOCAL cReturn
 LOCAL nReturn

 DECLARE INTEGER GetShortPathName IN kernel32; 
         STRING  lpszLongPath  ,; 
         STRING  @lpszShortPath,; 
         INTEGER cchBuffer 

 nBuffer  = 255
 cReturn = SPACE(nBuffer)
 nReturn = GetShortPathName( cCaminho, @cReturn, nBuffer)        
 
 RETURN LEFT( cReturn, nReturn)
Thanks again,

[]´s

Dionísio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform