FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   File Splitter (https://fileforums.com/showthread.php?t=96490)

Carldric Clement 03-12-2014 14:10

Quote:

Originally Posted by Razor12911 (Post 436634)
It is done, I'll just need a translated message for this:

Merging=Merging %1... (This might take a while)

The only problem is that it is not tested because I edited the script via notepad(I don't have a PC)

@Carldric
Show me how you used Merger function

http://i.imgur.com/cxn72Gl.jpg

Simorq 25-04-2017 04:54

Quote:

Originally Posted by Razor12911 (Post 436589)
Inno Setup Usage

function Splitter(OriginalFile: String; SplitSize: Integer):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 's "' + ExpandConstant(OriginalFile) + '" "' + IntToStr(SplitSize) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

function Merger(SplitFile, OriginalFile: String):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 'm "' + ExpandConstant(SplitFile) + '" "' + ExpandConstant(OriginalFile) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

Not Work
Please Help

78372 05-06-2017 08:05

@Everyone The largest split size for any file is 2047 MB, so don't expect it to work for spliting files to fit in a dvd5 or something that big in size.

Gupta 05-06-2017 09:44

1 Attachment(s)
try this one out
should split and merge fine for more than 1000TB of data sets
command syntax is same as Razor's one check post #1


All times are GMT -7. The time now is 22:52.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com