--- title: Reroute Files and Settings (Windows 10) description: Reroute Files and Settings ms.assetid: 905e6a24-922c-4549-9732-60fa11862a6c ms.prod: W10 ms.mktglfcycl: deploy ms.sitesec: library author: CFaw --- # Reroute Files and Settings To reroute files and settings, create a custom .xml file and specify this file name on both the ScanState and LoadState commandlines. This enables you to keep your changes separate from the default .xml files, so that it is easier to track your modifications. In this topic: - [Reroute a Folder](#bkmk-reroutefolder) - [Reroute a Specific File Type](#bkmk-reroutespecfiletype) - [Reroute a Specific File](#bkmk-reroutespecificfile) ## Reroute a Folder The following custom .xml file migrates the directories and files from C:\\EngineeringDrafts into the My Documents folder of every user. %CSIDL\_PERSONAL% is the virtual folder representing the My Documents desktop item, which is equivalent to CSIDL\_MYDOCUMENTS. ``` syntax Engineering Drafts Documents to Personal Folder    C:\EngineeringDrafts\* [*]      C:\EngineeringDrafts\* [*]         ``` ## Reroute a Specific File Type The following custom .xml file reroutes .mp3 files located in the fixed drives on the source computer into the C:\\Music folder on the destination computer. ``` syntax All .mp3 files to My Documents ``` ## Reroute a Specific File The following custom .xml file migrates the Sample.doc file from C:\\EngineeringDrafts into the My Documents folder of every user. %CSIDL\_PERSONAL% is the virtual folder representing the My Documents desktop item, which is equivalent to CSIDL\_MYDOCUMENTS. ``` syntax Sample.doc into My Documents C:\EngineeringDrafts\ [Sample.doc] C:\EngineeringDrafts\ [Sample.doc] ``` ## Related topics [Customize USMT XML Files](customize-usmt-xml-files-usmt-win7-usmt-win8.md) [Conflicts and Precedence](conflicts-and-precedence-usmt-win7-usmt-win8.md) [USMT XML Reference](usmt-xml-reference-usmt-win7-usmt-win8.md)