1.

Solve : create text file of list displayed on screen?

Answer»

I want to start by apologizing because I am not very dos savy.

I have recently started a new job, and at this job I have to use an old dos program. I have approx. 20 different .bat files that are used to store information for different customers. I am having a problem figuring out which files are for which customers, and would like a text file that will tell me what files are where, that way I can sort them by whichever field it is that I know and come up with the correct info. For example...

BAT File A / Cust ID / File ID / Customer Name / File DESCRIPTION / File#
BAT File B / Cust ID / File ID / Customer Name / File Description / File#
etc

There's a few different PLACES within the program where I can press F5 to bring up this list (with EVERYTHING I'm looking for except for the BAT File Name). It displays a list on the screen with 10 records per screen view. So I guess my question is how can I get this list into a text file without copying and pasting 10 records at a time for 20 different bat files that have between 500 - 1000 records in each.

A Word Document is ATTACHED with screen shots and further description.

Thanks in advance.

[recovering space - attachment deleted by admin]if i understand u correctly
u can use >> like this

BAT File A / Cust ID / File ID / Customer Name / File Description / File# >>A_Cust_ID_Customer_Name
BAT File B / Cust ID / File ID / Customer Name / File Description / File# >>B_Cust_ID_Customer_Name
the out put of execution will be stored into a file INSTEAD of printing it on the screen

I guess more of my problem is that I don't know how to get into the programming of the program to make the changes. I've opened every file in the customer's individual directory and can't find what I'm looking for.
Because from what I understand of it, the list is generated by taking the Cust ID & Customer Name from one file, the File ID and File Description from another file and the File #, Cust ID & File ID from another file.
As I was looking through the directory that this information is stored in for each Customer, the only list that I found was the last one with File #, Cust ID & File ID.



Discussion

No Comment Found