1.

Solve : Getting information and store it in a file?

Answer»

Hi There,

This is my first post on this forum, with LOT of hopes.......

I wanted to EXTRACT information by RUNNING a command in dos command prompt, with which the out should be stored in a file. I know how to store the out put in a file. But my REQUIREMENT is like this:

I have a command like:
vlog -bv "D:\Serena PROJ\VANTIVE PRJ\VANTIVEPDB\archives\VANTIVEAPP\archive\OMU\PVCS\shvan_11375.Z-arc"

Which give me the output as:
D:\Serena PROJ\VANTIVE PRJ\VANTIVEPDB\archives\VANTIVEAPP\archive\OMU\PVCS\shvan_11375.Z-arc - shvan_11375 : 1.2

Here I have more than one file, for which I wanted to execute the similar command individually, so can some one help me how to execute all in one shot for different file.

For Eg:

I have 3 files for which i need to extract the information by executing the command as mentioned above. To extract the information I have run the command individually and put it in a file.
I wanted to do the same in one shot.....

AND THEN....

I also wanted to READ the file which is created from the above commands and reformat or get rid of some of the unwanted words or phrases.....

thanks in advance,

Krish.......



Discussion

No Comment Found