New
#1
undesirable .bat file side effects in Win7 pro 64-bit
I run a very simple .bat file every 5 mins:
@echo OFF
cd c:\user_name_directory
mkdir foo
exit
I also run a similar .bat file to remove the foo directory:
@echo OFF
cd c:\user_name_directory
rmdir foo
exit
I use task scheduler to schedule and execute each task, with each task being separated by about 2 mins, so the directory is first created, then two min later is is removed, and the loop repeats.
When either task runs, I get a window that flashes up on the screen and then instantaneously disappears. I can't tell what window it is, but I suspect it is the Command prompt, e.g. DOS window.
In any case, can someone tell me how to eliminate the flashing window side effect??
Thank you!