aldyofclas
IS-IT--Management
Hello Experts,
I am trying to get this batch file to run but it seems to keep stopping after the del *.* and asking "Are you sure you want to delete yes or no". How can I add "yes" automatically so that I don't have to remote onto the server to manually press yes each time. Your help would be greatly appreciated.
Thanks,
Aldyoflcas
Batch file is listed below:
@echo on
H:
cd \rlmdata
del *.*
cd response
del *.*
cd ..
cd claims
del *.*
cd ..
rd response
rd claims
xcopy h:\lmdata\*.* /s h:\rlmdata\*.*
echo on
echo on
echo on
echo on
echo
echo
echo
echo
echo
!!!Check for data files copied !!!!
I am trying to get this batch file to run but it seems to keep stopping after the del *.* and asking "Are you sure you want to delete yes or no". How can I add "yes" automatically so that I don't have to remote onto the server to manually press yes each time. Your help would be greatly appreciated.
Thanks,
Aldyoflcas
Batch file is listed below:
@echo on
H:
cd \rlmdata
del *.*
cd response
del *.*
cd ..
cd claims
del *.*
cd ..
rd response
rd claims
xcopy h:\lmdata\*.* /s h:\rlmdata\*.*
echo on
echo on
echo on
echo on
echo
echo
echo
echo
echo
!!!Check for data files copied !!!!