[Solved] Get File Extension for testfile.010 - VisualCron - Forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


bbrasov1982
13 years ago
Hi,

I'm trying to rename a file like testfile.010 to testfile.010_20121002.txt and I'm not able to get the full name of the file I want to rename. This file is filtered in the first tab of the rename task.

When I use this fuction: {PATH(GetFileName|*)} the result is: testfile, with no extension.
When I use this function: {PATH(GetExtension|*)} the result is null.

Even if the function GetFileName should return the file name together with the extension it does not return it. I assume it is because it is not a common file extension.

Many thanks for the help.
Sponsor
Forum information
Support
13 years ago
I was able to rename it with these settings.
Support attached the following image(s):

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bbrasov1982
13 years ago
Indeed it worked. But since 010 is variable (tomorrow 011 and so on) I had to change 010 it with . and like this it renames my files as I need.

Many thanks for the help.
Scroll to Top