|
-
Apr 5th, 2001, 06:14 AM
#1
Thread Starter
Addicted Member
Can anybody help me.
I have a program that is going to run about 600 command line operations. Each one is seperate. I need to limit the machines processes due to memory issues so would like to run only about 100 at a time. Is this possible and if so, can someone help.
Greatfully
Alex.
Due to the energy crisis, the light at the end of the tunnel has been turned off.
Sorry for any inconvenience this may cause
-
Apr 5th, 2001, 10:15 AM
#2
Use loops :
Code:
For i = 1 to 100
'first process here
Next i
For i2 = 1 to 100
'Second process here
Next i
Etc. The second won't start until the first has finished.
(BTW - use a doevents in there too)!
-
Apr 6th, 2001, 03:15 AM
#3
Thread Starter
Addicted Member
not quite that easy
Its all running in a while loop and has two stages, after further thaught i have decided that it would be easyer to monitor shelled app and wait for that to finnish bofore i start the next step.
If anyone knows how to do that i would be greatful.
-
Apr 6th, 2001, 03:20 AM
#4
Any chance of posting some of the code to give me an idea of what you're trying please ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|