Hi All,
I'm new to dos batch files and am only using to append files together. My problem is probably very simple to fix but I have no idea. I have tried for the past few days to find an answer but to no avail.
I have three files in a folder which I need to append together. I do this by using the below.
copy Z:\Files\Terminated\*.* Z:\filesoutput\Daily_File_Terminated.txt
The problem with this is it adds a square to the end of the footer. Is there a simple way to remove this square without manually doing this as this file will be generated each day.
I only need to delete the square.
remove a square
Moderator: DosItHelp
Re: remove a square
Not sure what you mean by 'square'. Is it a special character look like a square?
Your copy command should not append anything extra. Have you check the file size of the result is the sum of the size of the three source files?
-Frank
Your copy command should not append anything extra. Have you check the file size of the result is the sum of the size of the three source files?
-Frank
burton1986 wrote:Hi All,
I'm new to dos batch files and am only using to append files together. My problem is probably very simple to fix but I have no idea. I have tried for the past few days to find an answer but to no avail.
I have three files in a folder which I need to append together. I do this by using the below.
copy Z:\Files\Terminated\*.* Z:\filesoutput\Daily_File_Terminated.txt
The problem with this is it adds a square to the end of the footer. Is there a simple way to remove this square without manually doing this as this file will be generated each day.
I only need to delete the square.
-
- Posts: 2
- Joined: 23 May 2008 06:48