How do I split the filename out of a full path in batch scripting?
I don't know that much about batch files but couldn't you have a pre-made batch file copied from the home directory to the path you have that would return a list of the names of the files then use that name?
Here is a link I think might be helpful in making the pre-made batch file.
http://www.ericphelps.com/batch/lists/filelist.htm