Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming Dir
Message
De
21/05/2001 10:53:02
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
 
 
À
21/05/2001 10:28:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00509442
Message ID:
00509461
Vues:
18
>Is there a way to rename a directory (ie simulate the right click->rename in win 95 98. Can it be done from inside VFP? can it be done in a the batch/icon file that calls up a VFP app?
>
>
>TIA
>CG


this worked in FP3.0 but have not tried it in VFP6.0

SET DEFAULT TO (Dir_Spec)
RENAME "DBFS." TO (Other_Dir_File_Name)

Dir_Spec is full path to parent directory
substitute current dir name for "DBFS."
and Other_Dir_File_Name is you new directory name.
patrick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform