melinadavid
New Member
- Joined
- Jun 5, 2017
- Messages
- 2
- Thread Author
- #1
Hi,
I am writing a windows script to run 2 commands. Now the outputs goes in two rows, but I want the output of each command goes in different columns in excel. This is My script:
For %%F in (*.txt) do (
Command_1 %%F >> output.xls & command_2 %%F >> output.xls
)
Now my Output.xls is like:
AAA
BBB
I want my output.xls be like :
AAA BBB
I will appreciate if somebody has any solution for this.
Thanks,
I am writing a windows script to run 2 commands. Now the outputs goes in two rows, but I want the output of each command goes in different columns in excel. This is My script:
For %%F in (*.txt) do (
Command_1 %%F >> output.xls & command_2 %%F >> output.xls
)
Now my Output.xls is like:
AAA
BBB
I want my output.xls be like :
AAA BBB
I will appreciate if somebody has any solution for this.
Thanks,