file rename

Started by mtruong1, December 03, 2013, 10:34:00 AM

Previous topic - Next topic

mtruong1

Hi,

How do I remove an extension from a file.  For example, I have a file name "mike.mig.done" and I want to remove the .done extension.
I want to end up with the file name "mike.mig".

I tried to use the FileRename command but not sure how.

Thanks

mtruong

RAK

a = fileroot (file)
message ('root',a)