• We've upgraded our forums. Please post any issues/requests in this thread.

need batch file help

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#1
hey i need some help i googled a bit and didnt really find anything that could help me. but what i need is a batch file...i need one that will

1. start an exe than after completion start another


can it be done?
 

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#2
bump

krej any ideas?
 

panchoman

Sold my stars!
Joined
Jul 16, 2007
Messages
9,595 (2.52/day)
Likes
1,148
Processor Amd Athlon X2 4600+ Windsor(90nm) EE(65W) @2.9-3.0 @1.45
Motherboard Biostar Tforce [Nvidia] 550
Cooling Thermaltake Blue Orb-- bunch of other fans here and there....
Memory 2 gigs (2x1gb) of patriot ddr2 800 @ 4-4-4-12-2t
Video Card(s) Sapphire X1950pro Pci-E x16 @stock@stock on stock
Storage Seagate 7200.11 250gb Drive, WD raptors (30/40) in Raid 0
Display(s) ANCIENT 15" sony lcd, bought it when it was like 500 bucks
Case Apevia X-plorer blue/black
Audio Device(s) Onboard- Why get an sound card when you can hum??
Power Supply Antec NeoHe 550-manufactured by seasonic -replacement to the discontinued smart power series
Software Windows XP pro SP2 -- vista is still crap
#3
you could probably make/record a macro to do that for ya.
 

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#4
not if its going to be mass distributed.
 

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.49/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#5
hey i need some help i googled a bit and didnt really find anything that could help me. but what i need is a batch file...i need one that will

1. start an exe than after completion start another


can it be done?

I think you can just use the "Call" command in your batch file.
The batch file should delay execution until the call command finishes.

Call myprogram.exe
Call mysecondprogram.exe

Haven't done much batch coding lately :)
 

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#6
cool thanks bud that worked now i just need to make it call another exe but i need to stall it for like 5min any idea how? the only one i could find does it for 99sec
 
Joined
May 27, 2005
Messages
3,651 (0.80/day)
Likes
341
Location
Little Rock Arkansas, United States
System Name Monolith
Processor Intel Xeon E3110 Wolfdale@3.5GHz
Motherboard MSI P35-Neo
Cooling Active Air
Memory 4GB DDR2 800
Video Card(s) Sapphire HD 3850 512MB PCI-E
Storage 1 x 80GB Internal, 1 x 250GB Internal, 1 x 40GB External
Display(s) Acer X203w
Case Generic black case with locking front bezel
Audio Device(s) Creative SB Audigy 2 ZS
Power Supply 500 Watt Seasonic M12
Software Windows 7 Ultimate x64
#7
What devilishness are you up to if I may ask?

P.S. If it is really bad, don't tell me.
 

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#8
my modded forceware ;) i need to execute 2 diff exe's the drivers need to install first than the second after. but installing drivers takes mroe than 99seconds so i need to figure out how to stall it more
 
Joined
May 27, 2005
Messages
3,651 (0.80/day)
Likes
341
Location
Little Rock Arkansas, United States
System Name Monolith
Processor Intel Xeon E3110 Wolfdale@3.5GHz
Motherboard MSI P35-Neo
Cooling Active Air
Memory 4GB DDR2 800
Video Card(s) Sapphire HD 3850 512MB PCI-E
Storage 1 x 80GB Internal, 1 x 250GB Internal, 1 x 40GB External
Display(s) Acer X203w
Case Generic black case with locking front bezel
Audio Device(s) Creative SB Audigy 2 ZS
Power Supply 500 Watt Seasonic M12
Software Windows 7 Ultimate x64
#9
That isn't as much fun as creating a program that continually rick rolls people :) .
 

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.49/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#10
That isn't as much fun as creating a program that continually rick rolls people :) .
Do I sense a little of Therm's evil side? :D

@Sol ...

Doesn't the Call command delay batch execution until the executable returns ?
No matter how long that is ? Or do you need to wait for a set period after the executable returns?

This is how I thought it worked ...

Start batch file
Call program.exe
Batch file stops and waits
program.exe finishes
Batch file continues again
 

Solaris17

Creator Solaris Utility DVD
Joined
Aug 16, 2005
Messages
19,263 (4.28/day)
Likes
6,070
Location
Florida
System Name Not named yet
Processor I5 7640x 5Ghz 24/7
Motherboard MSI x299 Tomahawk Arctic
Cooling Corsair H55
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Gigabyte 1080TI
Storage 2x Seagate 3TB Drives (RAID 0) 1x Seagate 256GB SSD 1x Adata 120GB SSD
Display(s) 3x AOC Q2577PWQ
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Onboard on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Tyon White
Keyboard Ducky Shine 6
Software Windows 10 x64 Pro
#11
really? cool ok sweet thnaks bud!!!
 

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.49/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#12
Let me know if it works for you.
If not I will continue to help you with it.
 
Joined
Mar 4, 2005
Messages
3,100 (0.66/day)
Likes
813
System Name TheReactor
Processor i7 6700k @ 4.95ghz - delid
Motherboard ASUS Maximus VIII Genie z170
Cooling EK EVO NIckle/Pump, 2xBlackIce GTX 240's
Memory 32GB G.Skill 3200Mhz Cas 14
Video Card(s) MSI GTX 980ti Gaming 6G
Storage Samsung 960 EVO 500GB
Display(s) HP ZR30W - 2560X1600
Case Corsiar 550
Audio Device(s) on board
Power Supply Antec Quattro 1000W
Mouse Logitech G502
Keyboard Corsair Gaming k70
Software Windows 10 Pro 64bit
#13
start /d "C:\path\filename1.exe" filename1.exe
TIMEOUT (up to 100000 seconds) 100000
start /d "C:\path filename2.exe" filename2.eve
 
Joined
Dec 26, 2007
Messages
1,801 (0.49/day)
Likes
307
Location
Toronto, CA
Processor Intel Core 2 Quad Q6600 Kentsfield L724A629 @ 3.8Ghz 423x9 1.47v
Motherboard Abit IP-35 Pro Beta 16.B04 (vDroop)
Cooling 6x Scythe S-Flex SFF21F, EK Multi Option 2 Port, dB-1 Compact, Swiftech MCR80, Swiftech Apogee GT
Memory 2x1 OCZ Flex XLC PC-9200 @ 5-5-5-18 1220 2.3v
Video Card(s) Inno3D Geforce 8800GTS 320
Storage Western Digital Raptor X 150
Display(s) Samsung Syncmaster 226BW 22"
Case Cooler Master RC-690
Audio Device(s) Creative SoundBlaster X-Fi Xtreme Gamer 7.1
Power Supply Thermaltake ToughPower 1000
#14
you should use a close event than open a new .exe, not a timer or you can save your self some trouble.

http://www.csharp411.com/net-installers/

lol creator of solaris utility dvd you inspire me with confidence :p

- Christine
 
Last edited: