0

hi to all
I have a dos command that can backup system state in winserver2008,it write it in cmd when i run it and say y to its question
but I want to have this command in bat file for a scheduled task that runs daily,I create this task and bat file but it doesn't work!!
I guess because of "y" to it's question but I can't solve this problem!!!

Please help me

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by z_zendegi
0

I solve my problem myself
if add -quiet to the end of the command it dosen't wait for say yes
then we can create scheduled task with this batch file

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.