Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace spaces of text file name by _
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01486147
Message ID:
01486166
Vues:
48
Thank!!, I add this to complete the process...

Local lcFileName
lcFileName = Getfile("txt", ;
this.Caption, ;
"Escojer ..")

If Empty(lcFileName)
Return
Endif


Yournewfilename=chrtran(lcFileName,' ','_')

RENAME [&lcFileName] TO [&Yournewfilename]
lcFileName = Yournewfilename




>>Hi if I have a file named [file test.txt] how can replace by [file_test.txt]
>>
>>thank
>
>
Yournewfilename=chrtran(youroldfile,' ','_')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform