Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace spaces of text file name by _
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01486147
Message ID:
01486170
Views:
52
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform