I thought of that, but I decided against it because it would have complicated the code too much.javier2112 wrote: Thu Mar 20, 2025 10:59 am Andrei, I've got a suggestion for future releases: now, when you rename a directory, the used destination name is always relative to the current directory, but if the new path starts with a device name, I think QLC could ask user to rename to an absolute path or not, or at least, rename to an absolute path without asking.
What do you think?
You can achieve this in the current version by using a MOVE + Rename or by a Copy + Rename
In QDOS you can rename a file but you cannot rename a directory. Also rename can change the name of a file, but not the drive.
So what I do in the program is this:
RENAME
- re-create all directory structure
- rename all files in the tree (because I know for sure that we are on the same drive, and rename works)
- delete the old directory structure
1. if we move on the same drive: I perform a RENAME (as above)
2. if we move on a different drive then
- re-create all directory structure on new drive and path
- copy all files in the tree
- delete the old directory structure including the files