|Subject||The rename function did not want to rename a file that had no previous extension|
I am in the process of converting some of our old chains for use under Automize 6x. Some of the new features will allow us to get rid of some of the custom scripts that I wrote. This is especially true of the rename subfunction of the copy task. In fact this is the reason for this message. While updating the chains I ran into a situation where I needed to rename a file from "KRONOS-EMP" to "KRONOS-EMP.csv". The rename function did not want to rename a file that had no previous extension. (If I manually added an extension to the file the task worked correctly.)
1) The rename option of the 6.x is under improvement for version 6.04 due to be released in 1-2 weeks. Please read the help file in 6.04 on the rename option.
2) The rename works by replacing string tokens .. So to make it work using the rename option, you would have to enter the following: filename = -EMP rename filename = -EMP.csv
3) The other option would be to use the copy option, and using the appendToFilename field. See the help file on the appendToFilename
-- Sincerely, Melvin Desilva Hitek Software