Hi,
I guees this is a newbie question, but I can´t find out how to copy only the folders on the first level.
If I use
nonexistent.* | a*\
in the copy dialog only folders are copied and none with a name that starts with an 'a'.
But when I try to expand this to exlude all subfolders with something like *\ or [a-x]\, or even with
nonexistent.* | a*\ b*\ c*\ d*\ e*\ f*\ g*\ h*\ i*\ j*\ k*\ l*\ m*\ n*\ o*\ *\p q*\ r*\ s*\ t*\ u*\ v*\ w*\ x*\ y*\ z*\
it does not work, resulting in that nothing is copied.
I also tried to first do a search only for folders and only on the first level and then use (anwenden) the search result, but when I then copy that, all files and subfolders are copied as well.
I guess there is a easy way to do this?
TIA
Örjan
Copy only folder on first level
Moderators: Hacker, petermad, Stefan2, white
Hi solid,
thanks for replying. Sorry for being imprecise. Let me rephrase.
I want to copy all folders on the same level, but no subfolders at all. As an exampel if I have
C:/folder1/subfolder1/subsubfolder1 and C:/folder2/subfolder2/subsubfolder2 and C:/folder3/subfolder3/subsubfolder3
I want to copy only C:/folder1, C:/folder2 and C:/folder3 but no subfolder or subsubfolder.
And I also do not want to copy any files at all. Just the folders.
Apparently I do not to quite understand how those copy options work.
BR,
Örjan
thanks for replying. Sorry for being imprecise. Let me rephrase.
I want to copy all folders on the same level, but no subfolders at all. As an exampel if I have
C:/folder1/subfolder1/subsubfolder1 and C:/folder2/subfolder2/subsubfolder2 and C:/folder3/subfolder3/subsubfolder3
I want to copy only C:/folder1, C:/folder2 and C:/folder3 but no subfolder or subsubfolder.
And I also do not want to copy any files at all. Just the folders.
Apparently I do not to quite understand how those copy options work.
BR,
Örjan
Well, that is not possible as one step. You can copy only the folder structure without files, then delete all subfolders, but in case of many folders, that's not practical.
But what you actually need is create folders with the same name as selected.
You can create folders and that use cm_CopyNamesToClip and rename those with MRT.
But what you actually need is create folders with the same name as selected.
You can create folders and that use cm_CopyNamesToClip and rename those with MRT.
Hi solid,
thanks for your reply.
Ok, if it´s not possible in one step I´d like to try the solution you mentioned. CopyNamesToClip I know and I have used MRT but I´m not quite sure I understand how create multiple folders in one go and how then to use the clip inside MRT.
Would you be so kind as to explain that?
BR,
Örjan
thanks for your reply.
Ok, if it´s not possible in one step I´d like to try the solution you mentioned. CopyNamesToClip I know and I have used MRT but I´m not quite sure I understand how create multiple folders in one go and how then to use the clip inside MRT.
Would you be so kind as to explain that?
BR,
Örjan
In new folder dialog, separate folder names with | (pipe) so multiple folders on the same level to be created at once. Then in MRT, click editnames button (below question mark) and paste copied names in the editor.
Another solution is via CMD.
Make a command or button with command:
cmd /c
Parameters:
for %%a in (%S) do md %T%%a
Select the folders in the source panel, invoke this command and folders will be created in the target panel with names as selected.
Another solution is via CMD.
Make a command or button with command:
cmd /c
Parameters:
for %%a in (%S) do md %T%%a
Select the folders in the source panel, invoke this command and folders will be created in the target panel with names as selected.