Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RENAME Command and Case Sensitivity
Message
De
04/08/2009 17:58:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01416096
Message ID:
01416099
Vues:
61
>>The VFP RENAME command does not seem to respect case sensitivity. It seems to LOWER()ize the new file name e.g.
>>
>>OldFileName = "File1.txt"
>>NewFileName = "File2.txt"
>>RENAME ( OldFileName ) TO ( NewFileName )
>>* yields name file2.txt
>>
>>Is there any way to make RENAME respect case, or are we looking at a WSH/Win32API workaround?
>
>
>Hi Al,
>
>Nope. See http://www.berezniker.com/content/pages/visual-foxpro/copy-move-rename-file-preserving-destination-name-case

I can stop beating my head on the wall. Thanks.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform