This is my first guide, so I hope it's helpful to the few of you who might use it. If you think it's dumb, I don't care, so don't bother telling me.
Most people use F@Hmon or some similar thing. I, however, only have one GPU client and one SMP client, so using such a complex program seems unnecessary to me. So, I use Windows batch files to start and stop my folding clients.
If you are unfamiliar with what a batch file is, Wikipedia gives a brief overview, and this article in Microsoft's library gives a more in-depth rundown.
Part One: Create Your Batch Files
1. Create a text file on your desktop
2. Copy the following code into it.
3. Edit the code according to the comments (things following ";").
4. Save as FoldingStart.bat
Starting Code
5. Repeat steps 1-3 for the following code.
6. Save as FoldingStop.bat
Stopping Code
Edited by Wiremaster - 9/5/10 at 2:46pm
Most people use F@Hmon or some similar thing. I, however, only have one GPU client and one SMP client, so using such a complex program seems unnecessary to me. So, I use Windows batch files to start and stop my folding clients.
If you are unfamiliar with what a batch file is, Wikipedia gives a brief overview, and this article in Microsoft's library gives a more in-depth rundown.
Part One: Create Your Batch Files
1. Create a text file on your desktop
2. Copy the following code into it.
3. Edit the code according to the comments (things following ";").
4. Save as FoldingStart.bat
a. Open any explorer window
b. Navigate in the menu at the top to Tools >> Options >> Folder Options >> View.
c. Un-check the box next to "Hide Extensions For Known File Types".
d. You should now be able to replace .txt with .bat
b. Navigate in the menu at the top to Tools >> Options >> Folder Options >> View.
c. Un-check the box next to "Hide Extensions For Known File Types".
d. You should now be able to replace .txt with .bat
Starting Code
Code:
@ECHO OFF
REM Flash the color green.
COLOR 20
REM Replace what is between the quotes with your path.
CD /D "C:\\Program Files (x86)\\foldingSMP\\"
REM This is the launching. It follows the format below.
REM START Minimized "Label" "NameOfProgram" -argument
START /MIN "SMP" "Folding@home-Win32-x86.exe" -smp
REM Replace what is between the quotes with your path.
CD /D "C:\\Program Files (x86)\\foldingGPU\\"
REM Same as above.
START /MIN "GPU" "Folding@home-Win32-GPU.exe"
6. Save as FoldingStop.bat
Stopping Code
Code:
@echo off
REM Flash the color red.
color 40
REM There is nothing to edit here.
REM Kills the processes. Note the names are the same as what you started.
taskkill /IM Folding@home-Win32-x86.exe
taskkill /IM Folding@home-Win32-GPU.exe
REM Note: This is for Windows 7. If in XP, replace "taskkill /IM" with "tskill".
Edited by Wiremaster - 9/5/10 at 2:46pm







