Computing.Net > Forums > Programming > Batch File runs multiple times

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File runs multiple times

Reply to Message Icon

Name: egp
Date: September 4, 2008 at 20:17:22 Pacific
OS: Windows XP Pro
CPU/Ram: AMD 960Mb
Comment:

Hi,

I have created batch file to run Ms Access's macro. At the beginning, it works fine. However after a while, it suddenly runs twice and now it runs four times. And since then, every batch file I have, both new and old, runs twice or four times. There's no error message.

When I run the macro directly, it runs only once. So, somehow the batch file runs multiple times by itself.

Could anyone help me? I'm so confuse. Don't know what to do.

Thanks before.



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: September 4, 2008 at 22:19:24 Pacific
Reply:

I'm not entirely sure what you problem is, but you may sometimes experience strange problems like this if you have a batch file, executable, vb script ect. with the same name as a command(eg echo.bat) either in the directory your running your batch from or a directory included in your path variable.

I can't seem to replicate it now, but I have had problems in the past.....

A good place to look for these is c:\documents and settings\<user>\ this is where the command line opens by default. I oftern end up with files leftover from mistyping command or just trying to make something work.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File runs multiple times

Batch File-12 hours time format www.computing.net/answers/programming/batch-file12-hours-time-format/16748.html

Multi-batch file run from one .exe? www.computing.net/answers/programming/multibatch-file-run-from-one-exe/14857.html

batch file run, del, copy www.computing.net/answers/programming/batch-file-run-del-copy/17767.html