I want to schedule a batch file to execute a command and redirect that output a text file.
Del 10.112.232.10Netbackup_SoftwaresPersonalBharathVM_Queryswitch.txt D:VMware_QueryVM_Query.bat >> 10.112.232.10Netbackup_SoftwaresPersonalBharathVM_Queryswitch.txt
server - windows server 2012
When I tried with task scheduler its executing the command but not redirecting output to text file.
command works fine when I execute from cmd prompt.
Please help.
برچسب:
نویسنده: استخدام کار