Page 1 of 1

Add new profile to Split file

Posted: 2010-06-28, 17:29 UTC
by panther7
Hi,

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

Thanks

Posted: 2010-06-28, 19:25 UTC
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

Posted: 2010-06-28, 23:38 UTC
by panther7
Thanks, but i haven't wincmd.ini in my totalcmd folder.

You can add this profile to default tcmd installer (for future)?

Posted: 2010-06-29, 05:46 UTC
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"

_

Re: Add new profile to Split file

Posted: 2010-06-29, 07:20 UTC
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.

Re: Add new profile to Split file

Posted: 2010-06-29, 10:07 UTC
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

Posted: 2010-06-29, 10:10 UTC
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.

Posted: 2010-06-29, 10:31 UTC
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

Posted: 2010-06-29, 10:41 UTC
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.

Posted: 2010-06-29, 20:16 UTC
by JustAnotherTCUser
hi,

is there a way to make a "personal" (template) size the default, when split dialog is opened?

Posted: 2010-06-30, 14:52 UTC
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.