This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:move_files_recreating_the_folder_structure [2014/02/14 11:25] lupo73 [Example] |
howto:move_files_recreating_the_folder_structure [2014/10/04 10:39] (current) |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ''C:\Directory'' | ''C:\Directory'' | ||
| - | To move files like:\\ | + | To move files from:\\ |
| ''C:\Directory\Subdirectory\File.txt'' | ''C:\Directory\Subdirectory\File.txt'' | ||
| - | In a new destination like:\\ | + | To a new destination like:\\ |
| - | ''C:\Destination**\Subdirectory**\File.txt'' | + | ''C:\Destination**\Subdirectory**\File.txt''\\ |
| + | or like:\\ | ||
| + | ''C:\Destination**\Directory\Subdirectory**\File.txt'' | ||
| - | As you can see, DropIt has recreated ''\Subdirectory'' of your files. And it works also with other actions like Copy, Compress, Extract, etc. (in general with all the actions that have a destination folder) | + | As you can see, DropIt has recreated a portion of the path of your files (''\Subdirectory'' or ''\Directory\Subdirectory''). |
| + | |||
| + | It works also with other actions like Copy, Compress, Extract and in general with all the actions that have a path as destination. | ||
| + | |||
| + | You only need to use ''%SubDir%'' and/or ''%DroppedDirName%'' abbreviations in your destinations. For example, to move the files as described above, you will use these respective destination folders:\\ | ||
| + | ''C:\Destination\%SubDir%''\\ | ||
| + | ''C:\Destination\%DroppedDirName%\%SubDir%'' | ||
| \\ | \\ | ||
| ---- | ---- | ||
| - | ===== Real-life Example ===== | + | ===== Example ===== |
| Let's consider that I have a main ''Media'' folder that contains subfolders of music, movies and other stuff. I'm not very neat, so there are some subfolders that contain ''mp3'', ''txt'', ''doc'', ''avi'' __together__. | Let's consider that I have a main ''Media'' folder that contains subfolders of music, movies and other stuff. I'm not very neat, so there are some subfolders that contain ''mp3'', ''txt'', ''doc'', ''avi'' __together__. | ||