Have just the file name (without extension) - VisualCron - Forum

Community forum

PedroFFPereira
2013-01-27T12:00:45Z
I have a loop from the output of a FileList task and i want to use {LOOP(CurrentValueX)} to call a EXE as arguments.

But {LOOP(CurrentValueX)} give me the all path+filename+extension. Is there any possibility to have just the filename? or some function like the mid()?

thanks
Support
2013-01-28T08:40:12Z
You have:

{PATH(GetFileName|{LOOP(CurrentValueX)})}

and without extension:

{PATH(GetFileNameWithoutExtension|{LOOP(CurrentValueX)})}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
PedroFFPereira
2013-01-28T10:13:35Z
Thank's!

Where I can find information on arguments thant one can use with variables? I search in help and i don't find information on that.

best regards, pfp



Originally Posted by: Support 

You have:

{PATH(GetFileName|{LOOP(CurrentValueX)})}

and without extension:

{PATH(GetFileNameWithoutExtension|{LOOP(CurrentValueX)})}



Support
2013-01-28T10:21:33Z
The Variables supplied should work as is with your loop but you can get all details by opening the Variables browser->Functions. There you will see list of functions and their arguments.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top