I use the following MS DOS command to convert, append and rename all .t files in the C:\Bam folder to a .txt file named Kotor.txt It works perfectly.
C:\Bam> for %1 in (*.t) do type %1 >> Kotor.txt
My problem now is to create a .bat file that will do precisely this. That is, on calling the .bat file, it should go to the Bam folder on my C:\ and convert all the .t files to .txt and compress them all to one file called say Kotor.txt
I'd be grateful for any suggestions.
C:\Bam> for %1 in (*.t) do type %1 >> Kotor.txt
My problem now is to create a .bat file that will do precisely this. That is, on calling the .bat file, it should go to the Bam folder on my C:\ and convert all the .t files to .txt and compress them all to one file called say Kotor.txt
I'd be grateful for any suggestions.