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
Thread Forum
Batch Files not working when trying to open programs
I was trying to create a batch file to open up two programs which I mostly always start and use when I login and so I attempted to create the batch file following this: Launch Multiple Programs From A Single Shortcut Using A Batch File While I managed to do all the actual "coding" part of it ...
General Discussion
Opening a batch file
Need some help opening this info on this disk. Has medical info. These are the files on the disk...... Thanks, B-72
Software
Files Opening Split up in Mult Programs
This is happening to MANY of my files! I see a file, then click to open and lo and behold I see a list of strangely titled items that appear to be opened up in various programs -- programs like Dreamweaver and others that I never intended them to use. One example is I have a map I saved of a bike...
Network & Sharing
Batch Files - Start Multiple Programs At Once
Batch Files - Start Multiple Programs at Once All of the work done in this tutorial will be done through MS DOS Batch Files. They are simply a method by which to enter multiple commands into a command prompt without manually typing them. Batch files are run through Command Prompt but can be...
Tutorials
BSOD Random Opening of Programs/Files
Read the BSOD Posting instructions; Hope it is all okay, If not please ask me to add more infomation. Thankyou. Is Windows 7 . . . - x86 (32-bit) or x64 ? 64 - the original installed OS on the system? Built it myself but yes; Its the first OS installed - an OEM or full retail version? Full...
BSOD Help and Support
Opening files with pinned programs, and other tips
So recently I've seen that some people still use quicklaunch, which perplexes me a bit. I can't think of anything you can do with quicklaunch that you cannot do with the regular pinned icons via a keypress or two. Now I'm not criticizing anyone for continuing to use quicklaunch as it does make some...
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 11:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App