Create files or folder from a list of names

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ArielP
Junior Member
Junior Member
Posts: 18
Joined: 2006-06-07, 16:01 UTC
Location: Canada

Create files or folder from a list of names

Post by *ArielP »

Hi all,

After a long hiatus of some many years, I return to the community to be an active user of the Forum again... I hope.

I would like to ask about a feature or a plugin I remember we talked about some time ago. It's about the possibility to create folders or files from a given list. So I have a text file with the names of files or folders to be created in a folder. What I need is a plugin that we can pass that file and that it will create the folders or file with the names referenced in the file with the list.

Can anyone tell me if such a feature like that one already exists in TC? Is there a plugin for that? Is there a command?

Many thanks in advance...

And have a nice weekend

Best wishes,
Ariel
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create files or folder from a list of names

Post by *petermad »

2ArielP
With the plugin zip2zero http://totalcmd.net/plugring/zip2zero.html you cna make zip files with zero-byte files/folders. You can then copy those files and dirs somewhere else from the archive..
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6970
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Create files or folder from a list of names

Post by *Horst.Epp »

2petermad
As I understand the request, the plugin will not help.
The dirs and files are not yet exists.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create files or folder from a list of names

Post by *petermad »

2Horst.Epp

I know, it was the best I could find.

Neither cm_Edit nor cm_MkDir supports list files.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Create files or folder from a list of names

Post by *hi5 »

A batch file?
See https://stackoverflow.com/a/19732328/3551144 - you can pass on the selected file in TC as argument to the (comps.txt in the example) via a button, start menu option or user command.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Create files or folder from a list of names

Post by *hi5 »

Related suggestion viewtopic.php?t=78851
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Post Reply