Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-04-2016, 15:26
Lucas65 Lucas65 is offline
Registered User
 
Join Date: Nov 2015
Location: Italy
Posts: 59
Thanks: 110
Thanked 23 Times in 15 Posts
Lucas65 is on a distinguished road
Split a file with bat

Hello,
I wanted to ask for advice on a command in bat.
If I have a compressed folder that weighs 500mb But when I start compressing I wanted to create 5 files from 100mb (data1.bin - data2.bin etc.) Instead of a single file (data1.bin) that weighs 500mb there is a command to use in cmd accompanied by, I assume, split.exe to do this?
I know there are utilities like ultrarc that do this but I'd like to know if you can do with the bat file.

Thank you and good day!
Reply With Quote
Sponsored Links
  #2  
Old 10-04-2016, 20:43
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 254
Thanks: 145
Thanked 203 Times in 115 Posts
ChronoCross is on a distinguished road
split.exe

split
Code:
@echo off
title Split
rem "Number 3 means 3mb"
for /r . %%T IN ("dat_0*.bin") do (
split s  "%%T" 50 "%%~nT.part*"

cls
)

del dat_0*.bin



rem --------------- drag and drop with
rem split s "%~nx1" 3
rem del  "%~nx1"
merge

Code:
@echo off 

title merge
for /r . %%T IN ("dat_0*.part1") do (
split m "%%T" "%%~nT.bin"
cls
)

del dat_0*.part*
Reply With Quote
The Following 3 Users Say Thank You to ChronoCross For This Useful Post:
gozarck (06-05-2016), Lucas65 (11-04-2016), Simorq (24-04-2017)
  #3  
Old 11-04-2016, 06:22
Lucas65 Lucas65 is offline
Registered User
 
Join Date: Nov 2015
Location: Italy
Posts: 59
Thanks: 110
Thanked 23 Times in 15 Posts
Lucas65 is on a distinguished road
Thank you very much Chrono Cross, but it was not what I was looking for.
For example: I'm compressing a game of 700mb. During compression I would create 10 files to 70MB to each one (data1.bin - data2.bin - data3.bin etc.).
Basically a command to add to msc+srep+lzma to create, instead of a single compressed file, some file from 70MB.

I hope I explained a bit better. Thanks for your help!
Reply With Quote
  #4  
Old 11-04-2016, 06:43
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 254
Thanks: 145
Thanked 203 Times in 115 Posts
ChronoCross is on a distinguished road
Freearc not have multi volumen. This is the only way for now. Razor its working on this solution. You can use felice tool or use 7z.
Reply With Quote
  #5  
Old 11-04-2016, 10:07
Lucas65 Lucas65 is offline
Registered User
 
Join Date: Nov 2015
Location: Italy
Posts: 59
Thanks: 110
Thanked 23 Times in 15 Posts
Lucas65 is on a distinguished road
I understand, FreeArc not have multi volume.
Thanks for the help!
Hello.
Reply With Quote
  #6  
Old 06-05-2016, 17:54
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 495 Times in 114 Posts
gozarck is on a distinguished road
this is an experimental batch to split folder by size and pack with arc.exe.
default is -m0 for test.

( felice tool is the best way for split and compress folders.)
Attached Files
File Type: 7z Split_Folder_2_ARC.7z (1.1 KB, 53 views)
__________________
-the science of the useless-
Reply With Quote
The Following 3 Users Say Thank You to gozarck For This Useful Post:
felice2011 (07-05-2016), Lucas65 (14-05-2016), RamiroCruzo (06-05-2016)
  #7  
Old 07-05-2016, 00:42
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road
...@gozarck ...In fact it is the same concept used in the utility "M&S Kompressor" and I think also in "UltraARC" by Razor.
If you want to split the archive already created in exact portions maintaining the same extension of the archives, with the possibility of changing file extension by joining the archives you can use this experimental.

The only downside for extracting using an installer must first join the splitted archives, and then install, and therefore requires a double size of the size of the extracted files to a temporary folder.
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)

Last edited by felice2011; 12-05-2016 at 12:18. Reason: Removed for Update
Reply With Quote
  #8  
Old 07-05-2016, 08:20
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
or use UltraARC
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Split Program Carldric Clement Conversion Tutorials 8 14-12-2014 12:23
Flat Out Protection t.foster73 PC Games 59 26-11-2004 01:39
How to split an AVI file scooby3903 CD/DVD Copy Protections & Utilities 2 09-11-2002 11:03
cd burner help snatchcrash CD/DVD-Writers 1 14-09-2002 04:32
HELP ME PLZ!!!! Dalvin DC Games 0 02-01-2001 22:15



All times are GMT -7. The time now is 18:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com