|
Answer» Hello everyone, thank you for your attention. I am processing multiple text FILES, in this CASE what I need to do is to copy content from one file "ALPHA*.txt" to multiple "*.DCC" files, without changing their names.
For exemple, I have source folder "a" with files "ALPHA*.txt" and a folder "b" with multiple files with a "*.dcc" extension.
Here is my script: ------------------------------------------------------------------------ for %%f in (b\*.dcc) do copy a\ALPHA*.txt %%f ------------------------------------------------------------------------
It works, but the big problem is that it leaves a square character at the end of PROCESSED files. And *.dcc files are used by another program that can not aceept this.
Please help me find a way around it.
Impacttry the /b SWITCH on the copy command.Well good sir, you saved my day!
I never thought there was so much to the copy command.
Thank you!
|