>lcSrcFName = [MyOriginalFile.txt] >lcNewFName = INPUTBOX( [Filename] , [Define the name of the file] , [MyNewFile] , 0 , [] , [MyNewFile] ) >lcNewFName = FORCEEXT( lcNewFName , JUSTEXT( lcSrcFName ) ) >COPY FILE ( lcSrcFName ) TO ( lcNewFName ) >>
>>@ 0,1 say "Re-Name File: " get fln >>READ >>fln = rtrim(fln) >>COPY FILE m.txt to c:\vaniermu\&fln >>>
>>@ 0,1 say "Re-Name File: " get fln >>READ >>fln = rtrim(fln) >>COPY FILE m.txt to c:\vaniermu\&fln >>thanks tom - i like the format of this - it starts out nicely but breaks down on the last line - with message
C:/MyOriginalFile.txt does not exist
seems like the entry option does not translate to the new title i type in.