View Single Post
Old 13th December 2010, 21:13   #70  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Inventive Software View Post
Does version 4 have this or not?
It doesn't. At least not yet. However this doesn't mean it can't be added, but I don't have a good idea how to do it at the moment

Assuming we have the full paths of various source files as well as the full path of the destination folder, how to figure out which segment of the source path to append to the output path?

Always appending the full source file path (except for the drive letter, of course) to the output path might not be the best idea.

If the paths of all source files have a common prefix, it might make sense to ignore that prefix and only keep the part of the paths that differs. But that isn't that trivial to implement

(At least the "keep it simple and stupid" solution, always append the full path, would be straight forward to implement. But an exam will prevent me form coding the next 2 days)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 13th December 2010 at 21:18.
LoRd_MuldeR is offline   Reply With Quote