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:
01486170
Vues:
53
>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
>
>
>
>
Change this line:
RENAME [&lcFileName] TO [&Yournewfilename]
to
RENAME (lcFileName) TO (Yournewfilename)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform