Code: Select all
writefile("I:\Temp\file.avi",readfile("D:\Temp\file.avi","b"),,"b");
Code: Select all
writefile("I:\Temp\file.avi",readfile("D:\Temp\file.avi","b"),,"b");
I need to merge multiple files into one.highend wrote:Iirc, the limit is by design.
Why are you trying to copy an .avi file by readfile / writefile?
Code: Select all
copy /b file1+file2+file3 targetFile
I need after the merger split file of the same size.highend wrote:Use the dos copy command instead (with run / runret):Code: Select all
copy /b file1+file2+file3 targetFile
Code: Select all
> SC readfile: This command will not read more than 100 MB at a time. To
read larger files use the "start" parameter and do it portion by portion.
This information has been missing from the help so far. Will be added soon.
admin wrote:In the case of double-byte chars "start" points to the character position. Easy and intuitive to use.
Code: Select all
> SC readfile: This command will not read more than 100 MB at a time. To
read larger files use the "start" parameter and do it portion by portion.
This information has been missing from the help so far. Will be added soon.
Note that the "start" parameter points to the *character* position in case
of text files (in double-byte encodings this is different from the byte
position).