Renaming in archives
Moderators: white, Hacker, petermad, Stefan2
Renaming in archives
Please add support for renaming inside not only ZIP archives, if possible.
For example, in RARs, operations such as adding/deleting files inside the archive are possible but not renaming files.
Thanks.
For example, in RARs, operations such as adding/deleting files inside the archive are possible but not renaming files.
Thanks.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)
Re: Renaming in archives
Really? For the first time I hear. Are you even aware that WinRAR is a Trialware? The free functionality is read and unpacking only.
I have a scripting solution for 19 additional extensions, including rar, but I don't think it will suit you.
Overquoting is evil! 👎
Re: Renaming in archives
WinRAR with licence expected, ofc. Otherwise, bad things happen!
May I have a look at your "scripting solution for 19 additional extensions", please?
May I have a look at your "scripting solution for 19 additional extensions", please?
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)
Re: Renaming in archives
It's not about the license, but about the freely supplied library. Your statement in the quote is false. There is no built-in ability in TC to delete something from rar archives.
My vbs script requires several additional files to interact with TC. It's not a problem?
My vbs script requires several additional files to interact with TC. It's not a problem?
Overquoting is evil! 👎
Re: Renaming in archives
Not, it's not. All that is required is to install (or unpack) WinRAR (or RAR) and set it as external packer for RAR archives in TC's options. From that point in time, modifications of RAR archives are possible because TC takes care of launching the external packer to make the changes to the archive. The statement doesn't say TC would modify the RAR archives by itself, without an external packer.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Renaming in archives
There is no modification there. Packing only. You're confusing something.modifications of RAR archives are possible
---------------------------
Total Commander
---------------------------
Function not supported!
---------------------------
ОК
---------------------------
Overquoting is evil! 👎
Re: Renaming in archives
Of course I can delete files from RAR archives as well as add files to such archives when WinRAR is defined correctly as external packer. This works exactly the same way as for ZIP archives which are natively supported by TC: delete files via F8/DEL and add files via F5. It also works for other archive types when a packer plugin is installed, e.g. for 7z archives when one of the 7-zip packer plugins is present.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Renaming in archives
I realized my mistake. I tied rar to Total7zip.
I.e. the deletion takes place through the WinRAR interface. I sprinkle ashes upon one's head.
But this cannot be compared with packer plugins. WinRAR does not have a separate dialog for changing the name, so this is not potentially applicable to TС.
I.e. the deletion takes place through the WinRAR interface. I sprinkle ashes upon one's head.
But this cannot be compared with packer plugins. WinRAR does not have a separate dialog for changing the name, so this is not potentially applicable to TС.
Overquoting is evil! 👎
Re: Renaming in archives
Hi friend, it's hard to tell without knowing more. Probably not a problem. About what I'm thinking now, if you were so kind, it would be much better to create a dedicated thread with a full description of your scripts. When useful for you - then probably for others as well!
PS: Thank you Dalai for clarification of the issue.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)
Re: Renaming in archives
I understand that many of my scripts will be useful. But only for TC I have several hundred of them. Can you imagine such a dump and the reaction of moderators? In addition, the publication will take a lot of time, which I do not have. There's a lot of work here.
It would be logical to proceed from the query topics (here, for example) and the proposed implementation.
Overquoting is evil! 👎
Re: Renaming in archives
Wrong. You can rename a file with F2 using Winrar GUI file commander or use ancient command line existing already for DOS rar.exe. It's described in rar.txt:
Code: Select all
rn Rename archived files.
The command syntax is:
rar rn <arcname> <srcname1> <destname1> ... <srcnameN> <destnameN>
For example, the following command:
rar rn data.rar readme.txt readme.bak info.txt info.bak
will rename readme.txt to readme.bak and info.txt to info.bak
in the archive data.rar.
It is allowed to use wildcards in the source and destination
names for simple name transformations like changing file
extensions. For example:
rar rn data.rar *.txt *.bak
will rename all *.txt files to *.bak.
RAR does not check if the destination file name is already
present in the archive, so you need to be careful to avoid
duplicated names. It is especially important when using
wildcards. Such a command is potentially dangerous, because
a wrong wildcard may corrupt all archived names.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Renaming in archives
No. File manager is the main window of WinRAR, and not a separate dialog called similarly to deletion.
Are you seriously reporting this to the person who wrote the script for this case? And in general, I wrote a lot of scripts for different archivers.
The problem is how TC will interact with the deletion via command line. There are some difficulties with the depth of nesting. The command does not always work in some situations.
Overquoting is evil! 👎