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
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.
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.
Summary: Razor2.3: Because 1/2/08 can be read as either the second day of January, or as the first day of February. No, I mean why haven't Microsoft decided on a specific, fixed, format for the variable %date%...
Summary: Nah, you don't get me. I wanna run multiple BATCH files from one particular file (another batch, executable or Perl script) I tried the call command, but that command will only open one batch. ...
Summary: I have this batch file that runs a file program that adds to a csv file and renames it. Then I want to delete the old file and move the new file to a dif folder. Here is what I have, the program runs ...