I have a req where we have set of batch xml files in C:\Today\set folder and I need to execute these xml files one by one automatically using batch script and if these files execute successfuly goes to success.log file if they are failed then will go to error.log file and scheduleBatch.cmd is inbuit utility file which executes these xml files.Please help me out how to design the code with this req.I really appreciate your help and Thanks in advance
For %%z in ("%xml_dir%\*.xml") do (
call schedulebatch "%%z" %userid% %pwd% %hyp_server%
if errorlevel 1 >>"C:\Today\xml-error.log" echo "%%z" failed
if not erorlevel 0 >>"C:\Today\xml-pass.log" echo "%%z" succeeded
CNET bought a house!
Take a look inside the house where we will be testing connected locks, thermostats and other smart home products so we can tell a complete story.