Hi there,
I think it is a simply question but i just break my head.
I have only one input file, how can i get its name or maybe its path without knowing its path? (i think we have the function FileGetFileName(Path) But it doesn't work if we don't know the path )
Thanks a lot.
Solved! Go to Solution.
There's an option for this in Input Data tool - see below (option 4 in that screenshot), just change it to either option (not the default "No")
thanks very much!!!!!!!!
No problem - easy when you know how, very difficult when you don't :-)
I just have to say how much I love the phrase "I break my head." I, too, break my head often! I love it! Another phrase I use often is that something I'm trying to figure out "makes my brain hurt!" LOL!
lol, as a chinese i always create some Chinese expressions... Such as "long time no see", "mountain people mountain sea"
Easy answer on that one, is there a way to do the same on the Dynamic Input tool? I am bringing in multiple files with the directory tool and want each record to hold the filename of its source. The dynamic tool doesn't appear to have this easy option.
Look at the configuration of the "template" that you choose in the Dynamic Input tool.