![]() |
File Splitter
1 Attachment(s)
This programs allows you to split files via command line into equal parts
and merge them whenever you want. Usage "Program" "command" "Original file" "File split in mb" Split.exe s C:\File.ext 12 "Program" "command" "Split-ed file/First Split" "Original File" Split.exe m C:\File.part1 C:\File.ext |
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; |
Does not work for me. I see a bit of a second a Window what closed automatic. :(
|
show me your commandline
|
There is no Commandline. I click the Split.exe, see a Window popping up and close. Nothing more...
|
lol, it is a console app. you must command the program for it to work via CMD
here is an example Split.exe s C:\File.ext 1024 |
Ok. Now I know, but don't get it to work. If you make the App a bit more easy to use I will check it out again.
|
Quote:
after was copy in this function, how to extract it? |
how i can integrate split.exe + CIUV2 by yener script
|
thanks Razor12911
very usefull tool i want "Freearc Tactical Splitter (Filelist)" in console app too. |
@Carl
You must first include the exe under files section first. Example Splitter(ExpandConstant('{app}\file.ext),1024); Merger(ExpandConstant('{app}\file.part1),ExpandCon stant('{app}\file.ext)); @gatosky I am working on the scripts right now bro. @ChronoCross I will see. |
Quote:
Quote:
|
Yep.
|
Quote:
Like Skip. |
Quote:
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 |
| All times are GMT -7. The time now is 18:19. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com