Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Search Forums:



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-10-2012
Registered User
 

Join Date: May 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Merge command on windows

Hi all,

How to join spitted files into a single file on windows as we have a CAT command on unix.

Regards,

---------- Post updated 02-10-12 at 12:54 AM ---------- Previous update was 02-09-12 at 12:56 AM ----------

I think my question is unclear.

Let me explain it again.

I want to combine number of files into a single file on windows xp .
Please tell me the command on windows

FYI
The files were splitted into number of files on solaris machine.

Thanks
Sponsored Links
    #2  
Old 02-10-2012
itkamaraj's Avatar
Unix is God
 

Join Date: Apr 2010
Posts: 2,359
Thanks: 21
Thanked 470 Times in 459 Posts

Code:
 
type *.txt > output.txt

Sponsored Links
    #3  
Old 02-10-2012
Moderator
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 12,192
Thanks: 233
Thanked 1,707 Times in 1,635 Posts
This is one rare case where the command in UNIX and CMD is actually the same, because CMD has cat too.


Code:
cat *.txt > output

    #4  
Old 02-11-2012
Registered User
 

Join Date: May 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you both for providing the commands.I used type command and it worked for me.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
scp command solaris to windows shifahim UNIX for Dummies Questions & Answers 2 08-12-2011 05:51 AM
Merge two files in windows using perl script kunal_dixit Shell Programming and Scripting 1 07-28-2008 01:39 PM



All times are GMT -4. The time now is 04:26 AM.