There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
All Other Software
Tag Cloud
adware audio bios blue screen boot bsod computer crash dell desktop driver email error excel firefox freeze google hard drive hardware hijackthis install internet itunes laptop linux malware network no sound outlook problem recovery router screen server slow sound speakers spyware startup trojan usb video virus vista webcam windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > All Other Software >
Windows Batch Files will not work

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
benfish1113's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Jul 2008
Experience: Intermediate
03-Jul-2009, 06:02 PM #1
Windows Batch Files will not work
Whenever I try to open a Windows Batch File, it always pops up for a fraction of a second and then closes really quickly. It has been doing this for months. It sometimes works to convert the batch file to a .exe file, but sometimes does not. I am using Windows XP x64, so that may be the problem. If anyone knows a way to fix this, it would be appreciated.
TheOutcaste's Avatar
Computer Specs
Distinguished Member with 5,315 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
03-Jul-2009, 07:41 PM #2
If you are double clicking on a batch file to run it, it will close the prompt as soon as it finishes unless it includes a pause statement, or asks the user for input.
If it has an error it will also close immediately.
Instead of double clicking, open a command prompt window first, navigate to the folder the batch file is in, then run the file by typing it's name. That way you can see any error messages.
__________________
Microsoft MVP - Windows Desktop Experience
Of course I know all the answers ; I just don't always match the answers to the right questions
Are you aware of the New Signature Limitations?
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:10 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.