type command in batch file
I am using the type command in a batch file i.e. type WN*N.txt >> Group\WNN.txt
The problem is the text is stuck together in the new file instead of on seperate lines in the original, any ideas please
Software
I am using the type command in a batch file i.e. type WN*N.txt >> Group\WNN.txt
The problem is the text is stuck together in the new file instead of on seperate lines in the original, any ideas please
by barberd99 Accepted solution
by pcs365_1 Accepted solution
Hi barberd99,
Try http://academic.evergreen.edu/projects/biophysics/technotes/program/batch.htm#misc
Regards,
PCS365_1
by seanferd Accepted solution
by barberd99 Accepted solution
by 1bn0 Accepted solution
copy file1.txt >> existingfile.txt
copy file2.txt >> existingfile.txt
copy file3.txt >> existingfile.txt
copy file4.txt >> existingfile.txt
>> tells the copy command to add the contents of the source file to the existing fiule instead of replacing it.
> just telss copy to overwrite the existing file.
This discussion is closed to new replies.
Sort by Trending