Pack files - Create separate archives...
Moderators: white, Hacker, petermad, Stefan2
Pack files - Create separate archives...
Files are selected and packed (Pack files - Create separate archives, one per selected file/dir). For example:
tc920x32_64_b3.exe
tc920x32_b3.exe
tc920x64_b3.exe
A) zip:c:\*.*.zip
create:
tc920x32_64_b3.exe.zip
tc920x32_b3.exe.zip
tc920x64_b3.exe.zip
= OK
B) zip:c:\2018 *.*.zip
create:
2018 x32_64_b3.exe.zip
2018 x32_b3.exe.zip
2018 x64_b3.exe.zip
= OK
C) zip:c:\2018-0 *.*.zip
create:
2018-0 2_64_b3.exe.zip
2018-0 2_b3.exe.zip
2018-0 4_b3.exe.zip
D) zip:c:\2018-05 *.*.zip
create:
2018-05 _64_b3.exe.zip
with tc920x32_64_b3.exe
2018-05 _b3.exe.zip
with tc920x32_b3.exe and tc920x64_b3.exe
E) zip:c:\2018-05-16 *.*.zip
create:
2018-05-16 .exe.zip
with tc920x32_64_b3.exe
2018-05-16 _b3.exe.zip
with tc920x32_b3.exe and tc920x64_b3.exe
I'm not sure if this is bug or not. But I will be pleased if it will be possible to use what we need in file names of created archives.
tc920x32_64_b3.exe
tc920x32_b3.exe
tc920x64_b3.exe
A) zip:c:\*.*.zip
create:
tc920x32_64_b3.exe.zip
tc920x32_b3.exe.zip
tc920x64_b3.exe.zip
= OK
B) zip:c:\2018 *.*.zip
create:
2018 x32_64_b3.exe.zip
2018 x32_b3.exe.zip
2018 x64_b3.exe.zip
= OK
C) zip:c:\2018-0 *.*.zip
create:
2018-0 2_64_b3.exe.zip
2018-0 2_b3.exe.zip
2018-0 4_b3.exe.zip
D) zip:c:\2018-05 *.*.zip
create:
2018-05 _64_b3.exe.zip
with tc920x32_64_b3.exe
2018-05 _b3.exe.zip
with tc920x32_b3.exe and tc920x64_b3.exe
E) zip:c:\2018-05-16 *.*.zip
create:
2018-05-16 .exe.zip
with tc920x32_64_b3.exe
2018-05-16 _b3.exe.zip
with tc920x32_b3.exe and tc920x64_b3.exe
I'm not sure if this is bug or not. But I will be pleased if it will be possible to use what we need in file names of created archives.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)
I don't think this is OK either - I would have expected:B) zip:c:\2018 *.*.zip
create:
2018 x32_64_b3.exe.zip
2018 x32_b3.exe.zip
2018 x64_b3.exe.zip
= OK
2018 tc920x32_64_b3.exe.zip
2018 tc920x32_b3.exe.zip
2018 tc920x64_b3.exe.zip
And with:
I would have expected:E) zip:c:\2018-05-16 *.*.zip
create:
2018-05-16 .exe.zip
with tc920x32_64_b3.exe
2018-05-16 _b3.exe.zip
with tc920x32_b3.exe and tc920x64_b3.exe
2018-05-16 tc920x32_64_b3.exe.zip
2018-05-16 tc920x32_b3.exe.zip
2018-05-16 tc920x64_b3.exe.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, it's not a bug - the * means the remaining characters from this position until the end of the name.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I second that - I can't even see the benefits of the current behaviourWould it be, please, enhanced into an intuitive state, where * = all original characters from the file name, so we can put what we need before it?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Actually it's how the command line in Windows works (cmd.exe).
For example, try this:
echo . > filename.txt
ren filename.txt name*.txt
gives namename.txt as the result, and not namefilename.txt!
For example, try this:
echo . > filename.txt
ren filename.txt name*.txt
gives namename.txt as the result, and not namefilename.txt!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
I don't think you can compare it to renaming (or copying) one file.
The "Create separate archives, one per selected file/dir)" function is more comparable to an iteration:
for %i (in filelist) do copy %i %i.zip
so adding name in front of it should be like:
for %i (in filelist) do copy %i name%i.zip
which would give the result Damel, Hacker and I expect.
I don't think you can compare it to renaming (or copying) one file.
The "Create separate archives, one per selected file/dir)" function is more comparable to an iteration:
for %i (in filelist) do copy %i %i.zip
so adding name in front of it should be like:
for %i (in filelist) do copy %i name%i.zip
which would give the result Damel, Hacker and I expect.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When I want to pack files 1.ext, 2.ext, and 3.ext into separate archives and the setting is: zip:c:\A*.*.zip, then separated archives are not created, but only one ZIP with all files. So, for this reason, I will still consider this behaviuor as a bug.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)
Good point!So, for this reason, I will still consider this behaviuor as a bug.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, it's your fault to change the name so all files are merged into one by setting that name pattern.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The name change was never a fault of a user but a just used feature, which acts in Total Commander counterintuitively. On the other hand, merging all files into one archive when "Create separate archives, one per selected file/dir" is set is indisputably a programmer fault.
I'm sorry Mr. Ghisler, I don't want to be personal, but your reaction was very rude. Naming the use of an existing feature as a user fault is not appropriate!
I'm sorry Mr. Ghisler, I don't want to be personal, but your reaction was very rude. Naming the use of an existing feature as a user fault is not appropriate!
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
1. format C:
2. install TotalCmd
3. install Windows (optionally)