Can I paste folders and keep the folder structure

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
vsub
Posts: 69
Joined: 23 Nov 2010 19:07

Can I paste folders and keep the folder structure

Post by vsub »

For example I copy those 3 folders(lets say I am looking for folders that have changes since the last few days)

D:\New\Folder\Folder1
D:\New\Folder\Folder2\Folder1
D:\New\Folder2

Is there is a way to paste them in another drive exactly how they are

E:\New\Folder\Folder1
E:\New\Folder\Folder2\Folder1
E:\New\Folder2

Can I copy files from different locations in one drive and then paste them in another drive with the exact same folder structure(except the drive letter)

D:\1\2\3\txt.txt
D:\2\3.file.txt

To
E:\1\2\3\txt.txt
E:\2\3.file.txt

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Can I paste folders and keep the folder structure

Post by highend »

Configuration | General | Menus, Mouse, Usability | Context Menus | [x] Custom drag and drop context menu

Right click drag and drop to the second (dual) pane root folder, "Copy Here with Path..."
One of my scripts helped you out? Please donate via Paypal

vsub
Posts: 69
Joined: 23 Nov 2010 19:07

Re: Can I paste folders and keep the folder structure

Post by vsub »

I tried that before posting but it doesn't work properly and it is adding the drive letter which is what I don't want

This is the output

Code: Select all

C:\Program Files (x86)\Tools\Foobar\foobar2000.exe ->
X:\C\Program Files (x86)\Tools\Foobar\Tools\Foobar\foobar2000.exe

C:\Program Files (x86)\Tools\Notepad\notepad++.exe ->
X:\C\Program Files (x86)\Tools\Foobar\Tools\Notepad\notepad++.exe

C:\Program Files (x86)\Tools\NV Inspector\nVidia Inspector.exe
X:\C\Program Files (x86)\Tools\Foobar\Tools\NV Inspector\nVidia Inspector.exe

C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
X:\C\Program Files (x86)\Tools\Foobar\VideoLAN\VLC\vlc.exe

This is what I want to happen when I copy those exe files

Code: Select all

C:\Program Files (x86)\Tools\Foobar\foobar2000.exe -> 
X:\Program Files (x86)\Tools\Foobar\Tools\Foobar\foobar2000.exe

C:\Program Files (x86)\Tools\Notepad\notepad++.exe ->
X:\Program Files (x86)\Tools\Notepad\notepad++.exe

C:\Program Files (x86)\Tools\NV Inspector\nVidia Inspector.exe ->
X:\Program Files (x86)\Tools\NV Inspector\nVidia Inspector.exe

C:\Program Files (x86)\VideoLAN\VLC\vlc.exe ->
X:\Program Files (x86)\Tools\VideoLAN\VLC\vlc.exe

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Can I paste folders and keep the folder structure

Post by highend »

You did try to drop those items to the root of the destination drive?
One of my scripts helped you out? Please donate via Paypal

vsub
Posts: 69
Joined: 23 Nov 2010 19:07

Re: Can I paste folders and keep the folder structure

Post by vsub »

Yes I tried:
1.drag-drop
2.Copy=>paste here with paths
3.Edit the clipboard to leave only the folders and then use Paste folder structure

It all leads to creating the first folder and placing everything inside it

Code: Select all

C:\Program Files (x86)\Tools\Foobar\foobar2000.exe -> X:\Program Files (x86)\Tools\Foobar\Foobar\foobar2000.exe
C:\Program Files (x86)\Tools\NV Inspector\nVidia Inspector.exe -> X:\Program Files (x86)\Tools\Foobar\NV Inspector\nVidia Inspector.exe
Answering with No on the Rich Copy question

Code: Select all

C:\Program Files (x86)\Tools\Foobar\foobar2000.exe -> X:\Program Files (x86)\Tools\Foobar\foobar2000.exe
C:\Program Files (x86)\Tools\NV Inspector\nVidia Inspector.exe -> X:\Program Files (x86)\Tools\Foobar\nVidia Inspector.exe
Btw,I don't know if this is an old unfixed bug because I am using the free version which is not updated anymore(I don't know if there is even support for it when you have problems with it)

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Can I paste folders and keep the folder structure

Post by highend »

2.Copy=>paste here with paths
? That option doesn't exist in a right click drag and drop operation?
3.Edit the clipboard to leave only the folders and then use Paste folder structure
???
One of my scripts helped you out? Please donate via Paypal

vsub
Posts: 69
Joined: 23 Nov 2010 19:07

Re: Can I paste folders and keep the folder structure

Post by vsub »

1.Copy the files and then right click on the other pane and choose Paste Special=>Paste Here with paths
The right click drag menu is called "Copy Here With Path" but it is executing the same function as above

2.Right Click=>Paste Special=>Edit Clipboard=>delete the files from the list(edit=>remove the file name)and leave only the folders=>Hit ok=>right click=>paste special=>paste folder structure

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Can I paste folders and keep the folder structure

Post by highend »

Ok, I got it. That's probably how it works. At least it's not different from the current beta.

It could be done by scripting but ofc that's not for the free version you're using...
One of my scripts helped you out? Please donate via Paypal

Post Reply