Computing.Net > Forums > Programming > File splitting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

File splitting

Reply to Message Icon

Name: general sirhc
Date: April 23, 2009 at 05:12:16 Pacific
OS: Windows XP SP2 64 bit
CPU/Ram: 2.4ghz QUAD, 4GB OCZ RAM
Product: Intel / Q6600
Subcategory: Batch
Comment:

I have an ISO that is 9 gb I need to split it in half so my idea was to some how copy half the file and then export it as a new file and do the same to the second half somehow but I have no clue of how to do this as I cannot put it as a variable then phrase it.

(For the records I am aware I can do this with a program but I like to learn how to do stuff and this would really make my day in some odd way)



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: April 23, 2009 at 09:22:12 Pacific
Reply:

When you say you want to split it, do you mean you want to make two smaller ISO files out of it (so that you can burn two CDs) or you just want to create two parts that you will subsequently join together to recreate the original ISO file?


0

Response Number 2
Name: general sirhc
Date: April 23, 2009 at 16:11:35 Pacific
Reply:

Two parts so that I can transfer it to another computer so basically

Split
Burn
Copy to other computer
Join using another batch file (Already written)


0

Response Number 3
Name: klint
Date: April 24, 2009 at 10:52:59 Pacific
Reply:

It can be split with a third-party utility, such as GNU 'head' and 'tail' (head.exe and tail.exe) or with a VBScript or C++ application. I don't think it can be done in a batch file.


0

Response Number 4
Name: ghostdog
Date: April 24, 2009 at 11:30:03 Pacific
Reply:

you can use GNU csplit. put the csplit command in a file, save it and run it like a batch file.

Unix Win32 tools | Gawk for Windows


0

Response Number 5
Name: general sirhc
Date: April 24, 2009 at 22:37:38 Pacific
Reply:

I have installed the coreutils package (.exe install) since it is the one that contains csplit command but when I type csplit /? into cmd it says unknown command what do I do?

Sorry but Im sorta new to batch


0

Related Posts

See More



Response Number 6
Name: shutat
Date: April 24, 2009 at 22:54:51 Pacific
Reply:

Do you mean cmd's "??? is not recognized as an internal or external command" babble? If so, then you need to type the full path to csplit in cmd. For example, if it's on your desktop, then something like cmd c:\"documents and settings"\administrator\desktop\csplit

If you mean csplit spits out the error, then /? isn't a valid command line switch for the program.

______________________
My work in progress. I hate JS. :P


0

Response Number 7
Name: general sirhc
Date: April 24, 2009 at 22:58:54 Pacific
Reply:

Well the packages I downloaded didn't put anything into my system 32 and there is no file called csplit.exe but there is a file called csplit.po and csplit.c1. another problem is I had to download the zip and put the files in manually for the second package due to the second installer failing due to a folder called "zzzzzzzzzzzz/zzzzzzzzzzzzzzzzzzz/zzzzzzzzzzzzzzzzzzzz/zzzzzzzzzzz
in there folders to be copied =\


0

Response Number 8
Name: general sirhc
Date: April 24, 2009 at 23:08:06 Pacific
Reply:

Okay I have worked out where the csplit.exe is it too much looking but I found it, thanks everyone for your help


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: File splitting

Spliting large text files www.computing.net/answers/programming/spliting-large-text-files/18960.html

batch to move files with same names www.computing.net/answers/programming/batch-to-move-files-with-same-names/19261.html

Header and trailer for csv file in batch www.computing.net/answers/programming/header-and-trailer-for-csv-file-in-batch/19462.html