Hi everybody,
Inside a foxpro prg I want to rename a *.tmp file to it's final name. I though a simple RUN command would do the job but it's seems it does not accept variables.
This doesn't work:
lcFichier = "\FolderA\Filename.tmp" && this is just a text file
RUN /N rename &lcFichier test1.ttt
error = something like cannot execute run command or illegal run command
This doesn't work:
lcCommand = "RUN /N "+ lcFichier + " test1.ttt"
&lcCommand
This work:
RUN /N rename \FoldeA\Filename.tmp test2.ttt
Any ideas?
TIA
Diane Robitaille eng.