Aug 11, 2005 #1 mlapse IS-IT--Management Jun 30, 2005 82 US Hi, I have a requirement where I would like to get the filename of the input file without the path. Ex: if the file path returned from GETFILENAME is C:\apps\mercator\example.txt, I want to put example.txt in the output. How can i do this? Thanks
Hi, I have a requirement where I would like to get the filename of the input file without the path. Ex: if the file path returned from GETFILENAME is C:\apps\mercator\example.txt, I want to put example.txt in the output. How can i do this? Thanks
Aug 11, 2005 Thread starter #2 mlapse IS-IT--Management Jun 30, 2005 82 US I have been able to do this successfully. Thanks a lot ! Upvote 0 Downvote
Aug 12, 2005 #3 JuJutsu Vendor Jun 9, 2005 70 US OK, what did you do? There is more than one way to do this. JuJutsu - Jeff S. Support Analyst Upvote 0 Downvote
Aug 12, 2005 Thread starter #4 mlapse IS-IT--Management Jun 30, 2005 82 US What I did was: SUBSTITUTE(GETFILENAME(Filename), GETDIRECTORY(Filename), "") It worked fine. Is there something I could have done to make it easier. Upvote 0 Downvote
What I did was: SUBSTITUTE(GETFILENAME(Filename), GETDIRECTORY(Filename), "") It worked fine. Is there something I could have done to make it easier.
Aug 15, 2005 1 #5 JEMIAZ Technical User Oct 16, 2003 76 GB WORD(GETFILENAME(Filename),"\",-1) works great Upvote 0 Downvote