Search found 4 matches

by jjj2k
17 Mar 2011 08:17
Forum: DOS Batch Forum
Topic: file splitting
Replies: 16
Views: 17599

Re: file splitting

file not in the directory

ghostmachine4 wrote:
jjj2k wrote:Hi,
I installed GAWK but unable to use it on my Win 7 64 bit. I run your command but no output.

did you expect output to be printed to screen? or did you already check file1 and file2 that is produced by the command?
by jjj2k
16 Mar 2011 23:18
Forum: DOS Batch Forum
Topic: file splitting
Replies: 16
Views: 17599

Re: file splitting

Hi, I installed GAWK but unable to use it on my Win 7 64 bit. I run your command but no output. Hi Guys, Thanks for your help but I have run into a problem with the script. --- script --- @echo off &setlocal enabledelayedexpansion for /f "delims=" %%a in (combined.csv) do ( for /f &quo...
by jjj2k
13 Mar 2011 19:13
Forum: DOS Batch Forum
Topic: file splitting
Replies: 16
Views: 17599

Re: file splitting

Hi Guys, Thanks for your help but I have run into a problem with the script. --- script --- @echo off &setlocal enabledelayedexpansion for /f "delims=" %%a in (combined.csv) do ( for /f "tokens=1,2 delims=," %%b in ("%%a") do ( if "%%b"=="DH" (se...
by jjj2k
11 Mar 2011 07:11
Forum: DOS Batch Forum
Topic: file splitting
Replies: 16
Views: 17599

Re: file splitting

Hi there guys! I have a similar problem for splitting this CSV file: DH,aosd,aoisjd,,,,,,, [first dh - for demo] DA,asjd,oaisjd,,,,,,, DB,aosd,oasdioaj,,,,,,, DC,aosda,0q4234,,,,,,, DH,12039,019823,,,,,, [second dh - for demo] DA,aosijd,apisjd,,,,, DB,19823now,owiejhw,,,,, I want to split the master...