Short: CopyHead - copy n bytes from source to dest - including C-source Author: Rudolph-Riedel@t-online.de (Rudolph Riedel) Uploader: Rudolph-Riedel t-online de (Rudolph Riedel) Type: util/cli Version: 1.0 Architecture: m68k-amigaos As I wasn't able to find something like this on a quick research I wrote my own tool... This little helper will do a binary copy of the first n bytes from a given source-file to a given destination-file. CopyHead Source/A,Dest/A,Length/N: CopyHead AmigaOS3.9:Videos/Jurassic_3.avi ram:test.avi 150000 Default length is 1000. The supplied source compiles fine on my system with either SAS-C or VBCC without warnings and may serve as example for ReadArgs() usage and file-copying. The supplied binary is compiled with SAS-C. The binary and the source are supplied as is, I hereby declare this package to be public-domain. I take no responsibilty for any damage that may occur by using this programm on any system. You are using this at your very own risk! One warning though, dest-files are overwritten without asking! Have a nice day - Rudolph |\ /| {o O} DiskMaster II support: ( " ) http://home.t-online.de/home/rudolph-riedel O Mailing-list: http://groups.yahoo.com/group/DM2-Forum