Add new profile to Split file

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
panther7
Junior Member
Junior Member
Posts: 13
Joined: 2010-06-28, 17:24 UTC

Add new profile to Split file

Post by *panther7 »

Hi,

pls add new profiles to Split file > Bytes per file (as DVD, DVDDL...)

Thanks
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Add something like

Code: Select all

[SplitPerFile]
0=2 GiB (FAT Limit) 
1=4 GiB (FAT Limit) 
2=4.37 GiB (4.7 GB DVD)
3=7.95 GiB (8.54 GB DVD)
4=8.75 GiB (9.4 GB DVD)
to your wincmd.ini.
No guarantee that this will work for all media (a lot of different formats are defined).

HTH
Holger
panther7
Junior Member
Junior Member
Posts: 13
Joined: 2010-06-28, 17:24 UTC

Post by *panther7 »

Thanks, but i haven't wincmd.ini in my totalcmd folder.

You can add this profile to default tcmd installer (for future)?
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

panther7 wrote:Thanks, but i haven't wincmd.ini in my totalcmd folder.
You have an "Help"-menu?
Go to "Help > About" where you can see what ini's are used and where they are located.

--

BTW, if you want to have the ini in the program folder
look up the help for "UseIniInProgramDir"
or search the forum for "UseIniInProgramDir=7"

_
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Add new profile to Split file

Post by *MVV »

panther7 wrote:Hi,

pls add new profiles to Split file > Bytes per file (as DVD, DVDDL...)
You may add formats manually. Once added, format will be in list so you will need to specify it only once.

HolgerK wrote:Add something like

Code: Select all

[SplitPerFile]
0=2 GiB (FAT Limit) 
1=4 GiB (FAT Limit) 
2=4.37 GiB (4.7 GB DVD)
3=7.95 GiB (8.54 GB DVD)
4=8.75 GiB (9.4 GB DVD)
to your wincmd.ini.
I think it would be better to write G instead of GiB since TC accepts it as multiplier and not GiB.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Add new profile to Split file

Post by *HolgerK »

MVV wrote: I think it would be better to write G instead of GiB since TC accepts it as multiplier and not GiB.
You can even use 1.23 GAGA if you want.
Only the first character of the postfix (k,M,G) behind the number is taken into account.
20.01.10 Release Total Commander 7.51 beta 1
20.01.10 Fixed: Files - Split: Size field didn't support G GBytes, only M and k -> added G (1 GByte= 1024*1024*1024 bytes), e.g. 0.5 G
Regards
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW, I tried to split Totalcmd.exe file using '2 GiB (FAT Limit)' - I got 3 pieces by 1.44 MB each (but when I typed just 2 G I got one piece as expected)... It seems like TC doesn't support comments after numbers...

Interesting, I'm splitting TOTALCMD.exe:

Code: Select all

  Template name                     What I get
1,44 MB (3.5")                    2*1.44 MB + last piece
1 Mamama (232)                    3*1 MB + last

2 G                               1 piece as expected
2 G (FAT Limit)                   2*1.44 MB + last piece              !!!!!!!!!!!!!!!!
0.2G                              1 piece as expected
0.2G (my sample size)             2*1.44 MB + last piece              !!!!!!!!!!!!!!!!
Seems like TC incorrectly ignores comments in user-defined split templates.
Last edited by MVV on 2010-06-29, 10:42 UTC, edited 2 times in total.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Mmmh strange.
I just splitted a file

Code: Select all

File.Ext	3.840.211.800	bytes
using
2gaga
and got

Code: Select all

File.001	2.147.483.648	bytes
File.002	1.692.728.152	bytes
File.crc	61	bytes
Btw: What Totalcmd.exe are you using that needs to be split into 2G(i)B parts? :wink:

Regards
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Btw: What Totalcmd.exe are you using that needs to be split into 2G(i)B parts?
File size doesn't matter if I get wrong results even with small file:) I have updated my previous post with strange test results.
JustAnotherTCUser
Member
Member
Posts: 149
Joined: 2008-10-14, 17:12 UTC

Post by *JustAnotherTCUser »

hi,

is there a way to make a "personal" (template) size the default, when split dialog is opened?
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

MVV wrote:BTW, I tried to split Totalcmd.exe file using '2 GiB (FAT Limit)' - I got 3 pieces by 1.44 MB each (but when I typed just 2 G I got one piece as expected)... It seems like TC doesn't support comments after numbers...
Confirmed.
Post Reply