cmd - concatinating .csv files column wise -


I have two CSV files, I want to add them to the wise intelligent.

I found that the given commands will not work in Windows Command Prompt.

Please help. Thank you for making my life easier. Ideally, you can use the Unix "Paste" command to do this.

With the install, you can use the paste. However, I gave it a try and as it is still UNIX, it does not like the CRS in the file i.e. Unix uses LAMO only, uses Windows CRLF and Paste so that you can return the middle lines with the end carriage Will keep confidential reports.

It will not really take much effort to write a paste.exe, I'm sure that someone should have already done that -. But I could not find one

There is no single command line (answer to this with windows using a Windows version of awk or paste or maybe sed ...)

So ... this is a bait file for you, this past parameter can handle multiple input files with the output file name. Setting the setlocal tmpFile =% tmp% \ joiningTxt-% random% if x% 3 works in x fields, use @teo Csv set tmpFile2 =% tmp% \ joiningTxt2-% random% .csv rem file% 1% tmpFile% & gt; NUL Input: Attach every file in the loop ray instead if x% 2 fields work in goto complete call: Attached% tmpFile %% 1 shift Goto loop: REM attached 2 files add together. Setlokles allow special characters to work! ^ // ("for token = *" in %% (% 1) (setlocal DISABLEDELAYEDEXPANSION set "FirstFileLine = %% A" setlocal ENABLEDELAYEDEXPANSION set / p SecondFileLine = echo FirstFileLine, SecondFileLine & gt;; & Gt; TmpFile2% Endolacental Adlocal))% 2 Copy% tmpFile2 %% 1 & gt; NUL del% tmpFile2% Goto: EOF: full copy% tmpFile %% 1 & gt; NUL Dell% tmpFile% Goto End Use Echo:% 0 file1In file2In echo the file ... echo in fileOut you should get the files at least 2: end endlocal


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -