Dividing a large file into smaller ones

From: Adibah (adibah_at_singnet.com.sg)
Date: 08/20/03


Date: 20 Aug 2003 05:29:00 -0700

Hi,

  I have a script which will read the contents an input file to
perform a contact test. The input file is a list of machines that I
want to do the contact test on. In the event that the input file
doesn't exist, it will create it's own file by reading the internal
database. Problem is, this internal database has more than 2000
machines and this number varies. When I run this, the script takes a
whole day! I'd like to be able to cut up this list into smaller
files, probably each of these file will have 100 machine names and
then, run the script concurrently, so that the contact test is
completed within an hour and I can collate all the results. How can I
do this? I'd like to be able to automate the whole process so that I
can schedule the script to execute every week.

Thanks & Regards,
Adibah



Relevant Pages

  • Re: Really Baffled any clues as to what is going on?
    ... > I am working on a script, it has an input file of machine names. ... > Dim fstrLogFilePath ... > fstrInputFile = InputBox("Enter name of file containing machines to ...
    (microsoft.public.scripting.vbscript)
  • Re: Parse an input file using a Key value
    ... I have an input file in the following format getting repeated. ... I tried to achieve this task using the following script below but it is ... To tranpose certain rows into columns and sort by one of the ...
    (comp.unix.shell)
  • Re: Running a DOS program using Microsoft Command Shell
    ... needed are available by public FTP: ... and the input file is run.txt. ... missing the ESC character, since I don'y know how to feed ESC in this ... When instructed from shell script, the progam simply ignores all SendKeys. ...
    (microsoft.public.windows.server.scripting)
  • newbie problem - how do I get dll version & size?
    ... I have a bunch of machines on which I need to check .dll revisions. ... to write a simplescript to do this. ... Set objFSO = CreateObject ... Line 1 of my input file seems to be skipped. ...
    (microsoft.public.scripting.vbscript)
  • Re: Dividing a large file into smaller ones
    ... In article, Adibah ... > I have a script which will read the contents an input file to ... The input file is a list of machines that I ...
    (comp.unix.shell)