viewpoint-particle

Author Topic: file rename  (Read 1927 times)

mtruong1

  • Newbie
  • *
  • Posts: 13
file rename
« on: December 03, 2013, 10:34:00 am »
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

  • Jr. Member
  • **
  • Posts: 90
Re: file rename
« Reply #1 on: December 03, 2013, 10:57:04 am »
a = fileroot (file)
message ('root',a)