Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-03-2007, 05:50 PM   #1
Golden Master
 
Rubber314Chicken's Avatar
 
Join Date: Mar 2006
Posts: 5,574
Send a message via AIM to Rubber314Chicken
Default help with a batch file

On my computer, I have 8 instances of folding at home running. I want to create 2 batch files: one to start them, and one to end them. They are located in C:\program files/FAHx/FAH504-Console.exe, the x being a number 1-8. What would the code be?
__________________

__________________
AMD Athlon 64X2 4200+, 2 GB ram, 2 TB HDD, Ubuntu+SAMBA ♫ Lenovo T410, i5@ 2.4 GHz, 4 GB ram, 7
Rubber314Chicken is offline   Reply With Quote
Old 03-03-2007, 07:07 PM   #2
Golden Master
 
freestyler105's Avatar
 
Join Date: Sep 2006
Posts: 7,883
Default Re: help with a batch file

Why 8? Your computer doesn't have 8 cores, does it?

Anyway, i don't think it's possible. I tried the same thing a while back, and it never worked. I had something like this going on:
Code:
@echo off
cd C:\FAH\
FAH504-Console.exe
cd C:\FAH2\
FAH504-Console.exe
The first one would open, but that's it. It would get stuck running the first instance. If there was a command to open a new DOS window, it might be possible, but I never figured it out.

The next thing I tried was making separate batch files for each instance, and then a master batch file to execute them all, but it was the same result.
__________________

__________________
C2D E6600 | 4GB DDR2-800 | 9800GTX+ | Asus P5B-E | 150GB Raptor | 320GB 7200.10 | 750W Xigmatek PSU
freestyler105 is offline   Reply With Quote
Old 03-03-2007, 07:25 PM   #3
Golden Master
 
Rubber314Chicken's Avatar
 
Join Date: Mar 2006
Posts: 5,574
Send a message via AIM to Rubber314Chicken
Default Re: help with a batch file

maybe if you changed the name of each console .exe
__________________
AMD Athlon 64X2 4200+, 2 GB ram, 2 TB HDD, Ubuntu+SAMBA ♫ Lenovo T410, i5@ 2.4 GHz, 4 GB ram, 7
Rubber314Chicken is offline   Reply With Quote
Old 03-03-2007, 07:30 PM   #4
Golden Master
 
freestyler105's Avatar
 
Join Date: Sep 2006
Posts: 7,883
Default Re: help with a batch file

Tried that, didn't make a difference.
__________________
C2D E6600 | 4GB DDR2-800 | 9800GTX+ | Asus P5B-E | 150GB Raptor | 320GB 7200.10 | 750W Xigmatek PSU
freestyler105 is offline   Reply With Quote
Old 03-03-2007, 07:35 PM   #5
Golden Master
 
Rubber314Chicken's Avatar
 
Join Date: Mar 2006
Posts: 5,574
Send a message via AIM to Rubber314Chicken
Default Re: help with a batch file

hmm... well, I'm only running 2 instances (running 8 slowed it down 4x, effectivley cancelling out and effect of running 8), and its not to hard to go start->programs->startup, so I think I'll live.
__________________
AMD Athlon 64X2 4200+, 2 GB ram, 2 TB HDD, Ubuntu+SAMBA ♫ Lenovo T410, i5@ 2.4 GHz, 4 GB ram, 7
Rubber314Chicken is offline   Reply With Quote
Old 03-03-2007, 07:36 PM   #6
Golden Master
 
freestyler105's Avatar
 
Join Date: Sep 2006
Posts: 7,883
Default Re: help with a batch file

Quote:
Originally Posted by wood_workur
hmm... well, I'm only running 2 instances (running 8 slowed it down 4x, effectivley cancelling out and effect of running 8), and its not to hard to go start->programs->startup, so I think I'll live.
Yeah, I was like I doubt this guy has dual quad cores, haha.

I just live with it too. I don't turn it off much, so it's not really a problem.
__________________
C2D E6600 | 4GB DDR2-800 | 9800GTX+ | Asus P5B-E | 150GB Raptor | 320GB 7200.10 | 750W Xigmatek PSU
freestyler105 is offline   Reply With Quote
Old 03-03-2007, 07:54 PM   #7
Golden Master
 
Rubber314Chicken's Avatar
 
Join Date: Mar 2006
Posts: 5,574
Send a message via AIM to Rubber314Chicken
Default Re: help with a batch file

Yeah, you're right, I have quad dual cores...
__________________

__________________
AMD Athlon 64X2 4200+, 2 GB ram, 2 TB HDD, Ubuntu+SAMBA ♫ Lenovo T410, i5@ 2.4 GHz, 4 GB ram, 7
Rubber314Chicken is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0