G
Guest
I am trying to create a batch file that will run from Scheduled Tasks. We
have a Fox Pro database that is running on several workstations and the users
forget to close it when they go home for the day. This causes problems when
the files are backed up overnight.
I tried this batch file.
@echo off
taskkill /im program.exe /f
This worked, but I don't want to force the database close.
When I remove the /f the database application asks me if want to close the
program Yes/No.
My question is there a way to respond Yes to the prompt in a batch file?
Thanks!
have a Fox Pro database that is running on several workstations and the users
forget to close it when they go home for the day. This causes problems when
the files are backed up overnight.
I tried this batch file.
@echo off
taskkill /im program.exe /f
This worked, but I don't want to force the database close.
When I remove the /f the database application asks me if want to close the
program Yes/No.
My question is there a way to respond Yes to the prompt in a batch file?
Thanks!