Batch File runs multiple times

September 4, 2008 at 20:17:22
Specs: Windows XP Pro, AMD 960Mb


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.

See More: Batch File runs multiple times

Report •

September 4, 2008 at 22:19:24

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.

Report •
Related Solutions

Ask Question