Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Batch files not opening some programs

18 Nov 2011   #1
Fuzz Ball

Windows 7 Home Premium 64-bit
 
 
Batch files not opening some programs

Ohai. It's been a while since I've been here. Didn't help that I'd forgotten my username and password.

Anyway, recently I decided to start using batch files to open programs when I want to run several in one go, rather than running all of them at startup. Should save some time if I ever want to just start the computer up for one thing.

So I'm having the problem that it doesn't recognise all the programs. Out of the 5 programs listed, only 2 of them will run. The error messages says it fails to find the programs at the specified location. I've tried both listing the full directory and then just the executable itself.

Programs it will open:
  • Winamp
  • Xfire
Programs it won't open:
  • Steam
  • GameTracker
  • Skype
Any help? Thanks.


My System SpecsSystem Spec
18 Nov 2011   #2
rustberger

Windows 7 Ultimate x64 sp1
 
 

Can you post you batch file contents.
My System SpecsSystem Spec
18 Nov 2011   #3
Fuzz Ball

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by rustberger View Post
Can you post you batch file contents.
Nice display pic

Anyway,

START /MIN "C:\Program Files (x86)\Steam\" steam.exe
START /MIN "C:\Program Files (x86)\Xfire\" xfire.exe
START /MIN "C:\Program Files (x86)\GameTracker\" GTLite.exe
START /MIN "C:\Program Files (x86)\Skype\Phone\" skype.exe
START /MIN "C:\Program Files (x86)\Winamp\" winamp.exe
My System SpecsSystem Spec
18 Nov 2011   #4
rustberger

Windows 7 Ultimate x64 sp1
 
 

EDIT
Try using,
@echo off
start /min "Winamp" "C:\Program Files (x86)\Winamp\winamp.exe"
start /min "Steam" "C:\Program Files (x86)\Steam\steam.exe"
start /min "Xfire" "C:\Program Files (x86)\Xfire\xfire.exe"
start /min "GTLite" "C:\Program Files (x86)\GameTracker\GTLite.exe"
start /min "Skype" "C:\Program Files (x86)\Skype\Phone\skype.exe"
My System SpecsSystem Spec
18 Nov 2011   #5
Fuzz Ball

Windows 7 Home Premium 64-bit
 
 

Nope, did the same thing. Found Winamp and Xfire, but not the others.
My System SpecsSystem Spec
18 Nov 2011   #6
rustberger

Windows 7 Ultimate x64 sp1
 
 

I just edited my first post try now.
My System SpecsSystem Spec
18 Nov 2011   #7
Fuzz Ball

Windows 7 Home Premium 64-bit
 
 

Awesome. It worked. Thanks so much dude.
*Note to self: Shouldn't have left off the comment bit of the batch file*

Thanks heaps.
My System SpecsSystem Spec
18 Nov 2011   #8
rustberger

Windows 7 Ultimate x64 sp1
 
 

Your welcome, Glad it worked
My System SpecsSystem Spec
Reply

 Batch files not opening some programs




Thread Tools



Similar help and support threads for2: Batch files not opening some programs
Thread Forum
Solved Opening multiple URLs in new tabs using batch file Browsers & Mail
Batch Files - Start Multiple Programs At Once Tutorials
Programs not opening General Discussion
BSOD Random Opening of Programs/Files BSOD Help and Support
Launch all programs in the start menu all at once possibly using batch General Discussion
No programs are opening General Discussion
Opening files with pinned programs, and other tips General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:14 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App