Add Multiple Folders
Moderators: fgagnon, nikos, Site Mods
As far as I know there is no specific (built-in) method to create several folders at once in 2xExplorer.
But there is a workaround for what you need (creating multiple folders) using the "Generate Batch" option, this is an example:
You want to create 10 folders (New_Folder_01-New_Folder_10), what you need to do is:
1.- In the right pane navigate to the target folder.
2.- In the left pane select 10 files/folders and hit Control+B.
3.- You get the dialog "Batch File Creation", now type:
Md "$R\New_Folder_$01"
and press enter.
4.- Next you get a confirmation dialog. Check the batch file and edit as needed.
Hope this helps
But there is a workaround for what you need (creating multiple folders) using the "Generate Batch" option, this is an example:
You want to create 10 folders (New_Folder_01-New_Folder_10), what you need to do is:
1.- In the right pane navigate to the target folder.
2.- In the left pane select 10 files/folders and hit Control+B.
3.- You get the dialog "Batch File Creation", now type:
Md "$R\New_Folder_$01"
and press enter.
4.- Next you get a confirmation dialog. Check the batch file and edit as needed.
Hope this helps
I was thinking more like:
Add folder: folder1/folder2/projects/floppy1
And attempt to put some order to stuff copied from tons of floppies. Just type the above in one go and drag all files from A: -> C:
Anyway, I might ask rir what is the significance of this step in what you were saying:
>2.- In the left pane select 10 files/folders and hit Control+B.
Add folder: folder1/folder2/projects/floppy1
And attempt to put some order to stuff copied from tons of floppies. Just type the above in one go and drag all files from A: -> C:
Anyway, I might ask rir what is the significance of this step in what you were saying:
>2.- In the left pane select 10 files/folders and hit Control+B.
> In the left pane select 10 files/folders and hit Control+B
That's a little trick to "fool" 2x's batch file generator to create 10 sets of commands (it doesn't matter which 10 since the names themselves aren't being used in this particular example).
All that matters is to get 10 commands and have 2x automatically generate names using the special $01 counter. As part of the mkdir New_Folder_$01 template it will generate the folders: (try it and see! )
New_Folder_01
New_Folder_02
...
New_Folder_10
I have to admit that I haven't really understood what you're trying to do -- why you would have to repeatedly enter the same folder subtree. The certain thing is that you can't use the GUI to enter subfolder names.
What you could do though is to use the command line within 2x in conjunction with the DOS mkdir command each time you wanted to create a subtree:
$ mkdir folder1\folder2\projects\floppy1
this would be stored in 2x's command history and you could be able to reissue it at a later stage with minimum effort using the command history [Ctrl+F10] command. For more info on command execution checkout tips & tricks #2
That's a little trick to "fool" 2x's batch file generator to create 10 sets of commands (it doesn't matter which 10 since the names themselves aren't being used in this particular example).
All that matters is to get 10 commands and have 2x automatically generate names using the special $01 counter. As part of the mkdir New_Folder_$01 template it will generate the folders: (try it and see! )
New_Folder_01
New_Folder_02
...
New_Folder_10
I have to admit that I haven't really understood what you're trying to do -- why you would have to repeatedly enter the same folder subtree. The certain thing is that you can't use the GUI to enter subfolder names.
What you could do though is to use the command line within 2x in conjunction with the DOS mkdir command each time you wanted to create a subtree:
$ mkdir folder1\folder2\projects\floppy1
this would be stored in 2x's command history and you could be able to reissue it at a later stage with minimum effort using the command history [Ctrl+F10] command. For more info on command execution checkout tips & tricks #2