Relative copy/move renames file

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Relative copy/move renames file

Post by allen »

I was attempting to move a file via the move to dialog using a relative path -- obviously, this isn't an implemented feature but I would love it to be! The problem is, I don't get any sort of error message when I attempt to perform this action. Instead I get some unexpected results.

I attempted to move imageName.txt to folderName -- folderName being an existing folder in the current directory. Instead of being moved into the folder, however, I found the file in the xyplorer program directory renamed to folderName. If the folder does exist (within the application directory), the file is properly moved, rather than renamed -- though to a directory relative to the application starting folder rather than the active directory in view in the explorer.

I'd love to be able to move files/folders to relative locations -- speed things up when I know where I want to move them and don't want to navigate through the tree popup -- and not have to manually type out the full location. If nothing else though, it seems there should be some sort of an error displayed for an invalid location. Perhaps a warning that my file will be moved to the program active directory and renamed :P

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Relative copy/move renames file

Post by admin »

Oh yeah, very good!

(a) I added the possibility to state paths relative to the current path.

EDIT: now I see you probably mean things like "..\..\blah\" -- note that I did not add this but currently (ie next version) only support paths under the current path.

(b) I pop up a message "The destination you have selected does not exist!" (Hey, English folks: wording okay?) when the destination can't be found and quit the operation.

allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Re: Relative copy/move renames file

Post by allen »

admin wrote:Oh yeah, very good!

(a) I added the possibility to state paths relative to the current path.

EDIT: now I see you probably mean things like "..\..\blah" -- note that I did not add this but currently (ie next version) only support paths under the current path.
Excellent! Actually, I was just refering to forward relative to the current location, but the inclusion of backwards navigation (eventually) makes it even better -- Thanks!
(b) I pop up a message "The destination you have selected does not exist!" (Hey, English folks: wording okay?) when the destination can't be found and quit the operation.
Sounds good to me.

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Relative copy/move renames file

Post by RalphM »

admin wrote:... I pop up a message "The destination you have selected does not exist!"
How about "The target folder does not exist!"
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I'd vote for using "destination" text over "target"...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply