Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - split txt file

Reply
 
Old 08-20-2008   #1 (permalink)
Mike Berger


 
 

split txt file

Hello,

I have a txt file (C:\test\kunden.txt) like follow:

Gruppe_1;Name;Vorname
Gruppe_1;Name1;Vorname1
Gruppe_2;Name1;Vorname1
Gruppe_2;Name2;Vorname2
Gruppe_2;Name3;Vorname3
....

about 150 groups, with 500 names

Now I will split the kunden.txt file into

gruppe_1.txt
Gruppe_1;Name;Vorname
Gruppe_1;Name1;Vorname1

gruppe_2.txt
Gruppe_2;Name1;Vorname1
Gruppe_2;Name2;Vorname2
Gruppe_2;Name3;Vorname3

How can I do that?

Mike

My System SpecsSystem Spec
Old 08-20-2008   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: split txt file

Answered in the German scripting group. Have a look here about
the advantages of cross-posting:
http://www.blakjak.demon.co.uk/mul_crss.htm


My System SpecsSystem Spec
Old 08-21-2008   #3 (permalink)
Mike Berger


 
 

Re: split txt file

Pegasus (MVP) schrieb:
Quote:

> Answered in the German scripting group. Have a look here about
> the advantages of cross-posting:
> http://www.blakjak.demon.co.uk/mul_crss.htm
>
>
Hello Pegasus,

I make it also in the German group, but I don't thank, that I get an
answer fast, because the last answer was on 13.08.2008.

Sorry for that.
Mike

My System SpecsSystem Spec
Old 08-21-2008   #4 (permalink)
Pegasus \(MVP\)


 
 

Re: split txt file


"Mike Berger" <mike_berger@xxxxxx> wrote in message
news:48acf273$0$11734$9b4e6d93@xxxxxx-online.net...
Quote:

> Pegasus (MVP) schrieb:
Quote:

>> Answered in the German scripting group. Have a look here about
>> the advantages of cross-posting:
>> http://www.blakjak.demon.co.uk/mul_crss.htm
> Hello Pegasus,
>
> I make it also in the German group, but I don't thank, that I get an
> answer fast, because the last answer was on 13.08.2008.
>
> Sorry for that.
> Mike
Try microsoft.public.de.german.scripting.wsh


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How can I view the first part of a split file General Discussion
Split Page File Question General Discussion
restore pst file that has been split Vista General
split filesystem based on file attribute offline PowerShell
Errors in Help file for split-path PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46