Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Create one shortcut to start 2 programs
New Posts  All Forums:Forum Nav:

Create one shortcut to start 2 programs

post #1 of 13
Thread Starter 
How can I do this? I already tried a .bat file and just put in the full file path to the .exe but it didn't do anything when I ran it. I just want to have one shortcut to start both FAH programs.
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
post #2 of 13
Heh, I also attempted to do this but I couldn't find a way to make it work.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6300 Gigabyte GA 965P DS3 HIS X1900XT IceQ3 512MB 2GB Geil value PC5300 
Hard DriveOSMonitorKeyboard
WD CE 250GB Win XP Home SP2/Vista Ultimate 64-Bit Dell 2007WFP 20.1" Dell 
PowerCaseMouse
450W X-Power Antec SLK3000B Logitech 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6300 Gigabyte GA 965P DS3 HIS X1900XT IceQ3 512MB 2GB Geil value PC5300 
Hard DriveOSMonitorKeyboard
WD CE 250GB Win XP Home SP2/Vista Ultimate 64-Bit Dell 2007WFP 20.1" Dell 
PowerCaseMouse
450W X-Power Antec SLK3000B Logitech 
  hide details  
Reply
post #3 of 13
If you have it set as a service, go to Control Panel > Administrative Tools > Services, double click the FAH service and copy the Display Name

Then paste both into a .txt document.
ie.
FAH@C:+Documents and Settings+NEvolution+My Documents+Folding@Home+Core1+FAH502-Console.exe

FAH@C:+Documents and Settings+NEvolution+My Documents+Folding@Home+Core2+FAH504-Console.exe

Then add the following: (bolded)
net.exe stop "FAH@C:+Documents and Settings+NEvolution+My Documents+Folding@Home+Core1+FAH502-Console.exe"

net.exe stop "FAH@C:+Documents and Settings+NEvolution+My Documents+Folding@Home+Core2+FAH504-Console.exe"

(don't miss the apostrophes)

Save as .bat

Note: Change stop to start to make it start all the processes.

Voila.
post #4 of 13
Thread Starter 
No service, just the exe.
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
post #5 of 13
You can't do a .bat script unless it is configured as a service.

I have both scripts already written- Does anyone want me to upload them?
Burning Phoenix
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9550 Gigabyte EP45-UD3P eVGA GTX 260 Core 216 SuperClocked 4GB G.Skill DDR2-1000 5-5-5-15 
Hard DriveOptical DriveOSMonitor
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK Lite-On LH-20A1S Windoze 7 Professional Dual Dell E207WFP 20.1" Widescreen LCD's 
KeyboardPowerCaseMouse
Logitech G15 Silverstone OP750 Lian-Li PC-A10B Logitech G5 
Mouse Pad
Harley Davidson 
  hide details  
Reply
Burning Phoenix
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9550 Gigabyte EP45-UD3P eVGA GTX 260 Core 216 SuperClocked 4GB G.Skill DDR2-1000 5-5-5-15 
Hard DriveOptical DriveOSMonitor
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK Lite-On LH-20A1S Windoze 7 Professional Dual Dell E207WFP 20.1" Widescreen LCD's 
KeyboardPowerCaseMouse
Logitech G15 Silverstone OP750 Lian-Li PC-A10B Logitech G5 
Mouse Pad
Harley Davidson 
  hide details  
Reply
post #6 of 13
Please do. I'd like to know/learn how to do it also.
post #7 of 13
As you wish. I also included a screenshot how-to...A very basic how-to. Let me know if there are any spots you need help on.
Burning Phoenix
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9550 Gigabyte EP45-UD3P eVGA GTX 260 Core 216 SuperClocked 4GB G.Skill DDR2-1000 5-5-5-15 
Hard DriveOptical DriveOSMonitor
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK Lite-On LH-20A1S Windoze 7 Professional Dual Dell E207WFP 20.1" Widescreen LCD's 
KeyboardPowerCaseMouse
Logitech G15 Silverstone OP750 Lian-Li PC-A10B Logitech G5 
Mouse Pad
Harley Davidson 
  hide details  
Reply
Burning Phoenix
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9550 Gigabyte EP45-UD3P eVGA GTX 260 Core 216 SuperClocked 4GB G.Skill DDR2-1000 5-5-5-15 
Hard DriveOptical DriveOSMonitor
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK Lite-On LH-20A1S Windoze 7 Professional Dual Dell E207WFP 20.1" Widescreen LCD's 
KeyboardPowerCaseMouse
Logitech G15 Silverstone OP750 Lian-Li PC-A10B Logitech G5 
Mouse Pad
Harley Davidson 
  hide details  
Reply
post #8 of 13
haha.
Both methods are pretty much the same but with different syntax. Why must there be overlapping syntax's??

But anyway, I thought your script was to start/stop a non-service exe. A misread on my part.
post #9 of 13
Eh, you can do a .bat file. Just use "call <file>"

IE. If we want to start our pr0n DL'er and our pr0n viewer, then we would do this:

Code:
@echo off
call "C:\\STOELDMEGAHURTZ\\SECRET\\PASSWORD\\pr0nDL\\uTorrent.exe"
echo Launched prog. 1
call "C:\\pr0n\\MOAR\\winamp.exe"
echo Launched prog. 2
cls
Sorry for the filenames, but I'm really bored.
#well
(18 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H Sapphire RX 580 2x G.Skill F3-2400C10-8GTX 
Hard DriveOptical DriveCoolingOS
Samsung 840 EVO Generic DVD±RW Burner Noctua NH-D14 Windows 10 
MonitorMonitorKeyboardPower
Dell U2711 Samsung SyncMaster 2233 Ducky DK9008 Overclock.net Edition, Cherry MX B... Corsair TX850 
CaseMouseMouse PadAudio
Fractal Design Core 2500 Logitech G303 QPAD HeatoN L M-Audio Fast Track USB 
AudioAudio
Beyerdynamic DT-770 80 Ohm AntLion ModMic v3 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics OEM Hard Mounted Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
OCZ Vertex 3 240GB DVD-+RW Arch Linux 1600x900 TN 
  hide details  
Reply
#well
(18 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H Sapphire RX 580 2x G.Skill F3-2400C10-8GTX 
Hard DriveOptical DriveCoolingOS
Samsung 840 EVO Generic DVD±RW Burner Noctua NH-D14 Windows 10 
MonitorMonitorKeyboardPower
Dell U2711 Samsung SyncMaster 2233 Ducky DK9008 Overclock.net Edition, Cherry MX B... Corsair TX850 
CaseMouseMouse PadAudio
Fractal Design Core 2500 Logitech G303 QPAD HeatoN L M-Audio Fast Track USB 
AudioAudio
Beyerdynamic DT-770 80 Ohm AntLion ModMic v3 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics OEM Hard Mounted Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
OCZ Vertex 3 240GB DVD-+RW Arch Linux 1600x900 TN 
  hide details  
Reply
post #10 of 13
Thread Starter 
Quote:
Originally Posted by gonX View Post
Eh, you can do a .bat file. Just use "call <file>"

IE. If we want to start our pr0n DL'er and our pr0n viewer, then we would do this:

Code:
@echo off
call "C:\\STOELDMEGAHURTZ\\SECRET\\PASSWORD\\pr0nDL\\uTorrent.exe"
echo Launched prog. 1
call "C:\\pr0n\\MOAR\\winamp.exe"
echo Launched prog. 2
cls
Sorry for the filenames, but I'm really bored.
Thanks! I think this is just what I need Can you explain what the following stuff is (I would like to learn more about batch files )

@echo off
call
echo
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
Main Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K Asus P8P67 EVO GTX 980 16GB DDR3 1866mhz 
Hard DriveCoolingOSMonitor
Revodrive 3 x2 240GB, M500 960GB, 2x WD 1TB Rai... Noctua NH-D14 Windows 10 Apple Cinema 30" 1600p 
KeyboardPowerCaseMouse
Logitech Orion Spark Capstone 750w CM Storm Scout Logitech G700s 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Create one shortcut to start 2 programs