Search found 7 matches
- 15 Feb 2011 10:38
- Forum: DOS Batch Forum
- Topic: prevent file name from printing on new text file
- Replies: 1
- Views: 4720
Re: prevent file name from printing on new text file
Just figured it out. Sorry to bother anyone
- 15 Feb 2011 10:06
- Forum: DOS Batch Forum
- Topic: prevent file name from printing on new text file
- Replies: 1
- Views: 4720
prevent file name from printing on new text file
I need to know how to prevent the file name from printing at the top of a new text file. For example, I am using a very simple batch. Findstr "string of text" Source.txt>>EndFile.txt Findstr "String of text" Source2.txt>>Endfile.txt When I view the output, I see the following ---...
- 15 Feb 2011 10:01
- Forum: DOS Batch Forum
- Topic: Need help with a Batch File
- Replies: 8
- Views: 6201
Re: Need help with a Batch File
I figured out what the problem was, a few of the XML files were incomplete and it was grabbing the 7th from the bottom, but since the file was incomplete it looked wrong. There is already a process to dlete incomplete files. I was testing the batch with older data, and some that hadn't been removed ...
- 14 Feb 2011 16:33
- Forum: DOS Batch Forum
- Topic: Need help with a Batch File
- Replies: 8
- Views: 6201
Re: Need help with a Batch File
No error message when I put a pause command in.
- 14 Feb 2011 16:09
- Forum: DOS Batch Forum
- Topic: Need help with a Batch File
- Replies: 8
- Views: 6201
Re: Need help with a Batch File
Ok, we are definitely getting closer. That linecollection.txt has the contents of the correct line, except it prints the result from the first XML only, and it duplicates it 5 times. I double checked, and each XML has a different line in the -7 position.
- 14 Feb 2011 15:04
- Forum: DOS Batch Forum
- Topic: Need help with a Batch File
- Replies: 8
- Views: 6201
Re: Need help with a Batch File
I can't seem to get it to work. What I have is multiple XML files. Each individual files on the 7th line from the bottom has the parameter or text line that I need to copy to a new, separate text file. Example in my directory, I have the following files: W001271-0181-0.xml W001271-0182-0.xml W001271...
- 14 Feb 2011 12:11
- Forum: DOS Batch Forum
- Topic: Need help with a Batch File
- Replies: 8
- Views: 6201
Need help with a Batch File
I have documents of varying length, but every document has a phrase that is exactly 7 lines from the bottom of the document. This phrase varies from one document to the next. I need to write a batch file that will print out the value from those lines to a separate text file. Can anyone help me with ...