Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RENAME function - files with spaces
Message
De
07/02/2004 11:30:26
 
 
À
07/02/2004 11:24:12
Denis Filer
University of Oxford
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00875169
Message ID:
00875171
Vues:
18
>I have a problem using RENAME to rename image files on my disk - where the image file name includes one or more spaces. The command RENAME "C:\myimages\file 001.jpg" TO "C:\myimages\file 999.jpg" works fine.
>
>However, my file names are in variables and the command RENAME &oldfile to &newfile (where oldfile and newfile are the names in the first example - with spaces) does not work. Any clues here? Thank you, Denis

Denis,

Use a name expression
Rename (OldFile) to (NewFile)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform