Accessing files in batch

hai,
I have a list of files having extension .sy in a folder. I want to find such files and print the first two columns of the files to new extension .tmp

I could interpret your requirements several ways. Please provide some sample input files and the desired output file or files. And explicitly state the field separator(s) that are used in the input files and the field separators you want in the output file(s).