PDA

View Full Version : Joining Files W/o any Software using MSDOS


hmvrulz
14-12-2006, 10:52 AM
Thanx to the author who found out this.... Source not know...

wanted to share with u guyz

i thought to share this with u as i found many people dont knw how to join files

one either use hsplit, a freeware
or


go to command prompt

suppose the folder where the files are @ c:\hmv\, then type

cd c:\windows\mamoo


now if the splitted filesnames are x.rar.001 x.rar.002 x.rar.003 and the final filename is to be x.rar, then type


copy /b x.rar.001 + x.rar.002 + x.rar.003 x.rar



the /b means copying binary
dnt 4get the "+" between the parts



Enjoy

subhajitmaji
14-12-2006, 11:29 AM
Thanx for the tricks

phreak0ut
14-12-2006, 08:54 PM
Hey this is a really nice thing. I'll give it a shot once I finish downloading a movie :D

sre06
14-12-2006, 09:00 PM
this also called merging of two files try this codes in c
#include<stdio.h>
void main()
{
FILE *fp1, *fp2, *fp3;
char nm1[20],nm2[20],nm3[20], ch;

printf("\n A prog. for MERGING 2 files in to a 3rd file ...\n\n\n");
printf("\nEnter the 1st source file name: ");
gets(nm1);
if((fp1=fopen(nm1,"r")) == NULL)
{
printf("\nUnable to open the file '%s' for reading ....", nm1);
getch();
exit();
}
printf("\nEnter the 2nd source file name: ");
gets(nm2);
if((fp2=fopen(nm2,"r")) == NULL)
{
printf("\nUnable to open the file '%s' for reading ....", nm2);
getch();
fclose(fp1);
exit();
}

printf("\nEnter the merged file name: ");
gets(nm3);
if((fp3=fopen(nm3,"a")) == NULL)
{
printf("\nUnable to open the file '%s' for reading ....", nm3);
getch();
fclose(fp1);
fclose(fp2);
exit();
}
while((ch=getc(fp1))!=EOF)
putc(ch,fp3);
fclose(fp1);
while((ch=getc(fp2))!=EOF)
putc(ch,fp3);
fclose(fp2);
fclose(fp3);
getch();
}

forever
14-12-2006, 09:14 PM
^^^ will the above programe work for video files and others too , have u tried it out ??

sre06
14-12-2006, 09:51 PM
may br try by giving extension

phreak0ut
22-12-2006, 06:33 PM
^^^ will the above programe work for video files and others too , have u tried it out ??

Tried it on a video file. But it didn't work :(