Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there an API call to rename a folder
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00178253
Message ID:
00178280
Vues:
25
>>local lcCommand
>>lcCommand = '[move "' + lcOldDirectory + '" "' + lcNewDirectory + '"]'
>>run &lcCommand
>
>What are the square brackets surrounding your DOS command for?

Rich,

FoxPro has three sets of string delimiters, ', ", and [] tha above line uses them all in order to get lcCommand as a string that can be used by the RUN command. The " tacked around the directory names allows spaces to appear in the name.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform