- When executed independently, they execute perfectly.
- When executed in 2 consecutive
runasstatements,chrome.exeis executed beforerobocopyhas had a chance to finish. - When placed inside a single
runasseparated by a&, it will not execute properly. Why?
runas /savecred /user:chrome "robocopy C:\Users\chrome\AppData\Local\Google\Chrome-Backup C:\Users\chrome\AppData\Local\Google\Chrome /mir & \"!ProgramFiles(x86)!\Google\Chrome\Application\chrome.exe\""