I made a simple batch file to copy outlook pst files to a network share. this is what i have so far
taskkill /T /F /IM OUTLOOK.EXE
robocopy "C:\outlook" "H:\Outlook Files" /fft /XO /E
I found that i need to pause this simple script between when it closes outlook, and starts copying, but I can't figure out how to create a pause. Any ideas how I could do this?