Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know about all the file splitting programs which split the files into equal parts.

But i need to split a file say 783kb into 2 parts

Part1 : 105kb Part2 : 680kb

is there a program to do this ? in Windows XP

Thanks

share|improve this question
    
For which operating system? –  Majenko Apr 27 '11 at 10:16
    
for Windows XP operating system –  Siva Apr 27 '11 at 10:25
add comment

1 Answer 1

up vote 2 down vote accepted

You could split the file into parts of 105kB, for example using split from GNU CoreUtils for Windows, and then assemble all but the first part.


Or you could, from the same package, use head to output only the first xxx Bytes from a file to another file called myFileHead:

head -c xxx myFile > myFileHead

The same applies to tail, only writing the last xxx Bytes to a file called myFileTail:

tail -c xxx myFile > myFileTail
share|improve this answer
    
Actually, I need to split a 1400mb file into Part1:115kb Part2:theremainingfile.. so this method will be consuming huge time if used.. –  Siva Apr 27 '11 at 10:16
    
I doubt it, that's merely a one-liner in Bash. –  slhck Apr 27 '11 at 10:17
    
the previous comment is due to editing mistake i didnt know enter submits the comment sorry –  Siva Apr 27 '11 at 10:18
    
plz suggest a program ? bash is present in windows ? –  Siva Apr 27 '11 at 10:19
    
@slhck any suggestions? –  Siva Apr 27 '11 at 10:23
show 10 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.