I am looking to change the destination C:WarrantyPCBackup instead to users onedrive documents folder instead. By doing this it will dump the data into the synced OneDrive folder to the new pc. I need it generalized so i can use it on any endusers machine. Another issue i have found is its not copying all the google chrome folders.
@echo off
@echo off
mkdir C:WarrantyPCBackupAutomaticDestinations
mkdir C:WarrantyPCBackupSignatures
mkdir C:WarrantyPCBackupSTICKY
mkdir C:WarrantyPCBackupChrome
mkdir C:WarrantyPCBackupFirefox
robocopy %appdata%microsoftwindowsrecentautomaticdestinations “C:WarrantyPCBackupAutomaticDestinations”
robocopy %AppData%MicrosoftSignatures “C:WarrantyPCBackupSignatures”
robocopy %LocalAppData%PackagesMicrosoft.MicrosoftStickyNotes_8wekyb3d8bbweLocalState C:WarrantyPCBackupSTICKY”
robocopy “%LocalAppData%GoogleChromeUser Data” “C:WarrantyPCBackupChrome”
robocopy %APPDATA%MozillaFirefoxProfiles “C:WarrantyPCBackupFirefox”
PAUSE
:EOF
Copy files to onedrive docs folder and copy ALL the folders within the Chrome folder. Basically moving chrome stuff for those users that have never signed into chrome 🙁
Dave Feist is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.