tryfn=justpath(fullpath(filename))+"\"+justfname(filename)>Nitpicking a little... In my routine which moves the raw pictures from wherever they were found (memory card, temp folder, usb connected phone etc) into appropriate folder, the final part was
lcToFile=Fullpath(Forcepath(lcToFile,lcToDir)) > Rename (lcFromFile) To (lcToFile)>...which turned the whole content of lcToFile into uppercase, regardless of the case in lcToFile,lcToDir. Now since lcToDir is mostly digits (it's date based), this workaround works:
lcToFile=Forcepath(lcToFile,Fullpath(lcToDir)) > Rename (lcFromFile) To (lcToFile)>- now only the folder is uppercase, the filename remains as it was, which is what I wanted. Still, is there a way to have FullPath() return the path as it is on disk, not uppercased? Is there an alternative? Scripting host would work as well.