Enterprise Administration > File Vaulting and Replication > File Vaulting > Understanding File Vaulting > Windchill Vault Configuration > FolderToRootFolderConverter Tool
  
FolderToRootFolderConverter Tool
This tool replaces existing folders on a master or replica vault with root folders. The root folder uses the mount path of the folder as its mount path. A subfolder is created below the root folder mount path and any files present in the (old, converted) folder are moved to this subfolder.
You run this tool from a Windchill shell with the following command:
Windchill wt.fv.tools.FolderToRootFolderConverter
The user name and password for startup are the administrator credentials.
You can find a list of possible command line options by running the following command:
Windchill wt.fv.tools.FolderToRootFolderConverter -usage
To list existing vaults and folders, run the tool with one of the following options:
-listVaultsFolders
-listRemoteVaultsFolders
To convert folders to root folders, run the tool with the following option:
-vaults
For each folder of each vault passed in the following argument, the folder is unmounted and in each folder�s place, a new root folder is created with a root mount path corresponding to the original folder�s mount path.
Following is a list of valid arguments:
-user=<adminid>�User ID of the administrator user.
-password=<adminpassword>�Password of the administrator user.
-vaults=<vault1,vault2..>�Only folders in specified vaults are converted.
-listVaultsFolders�Directs the tool to print vault and folder names and then exit.
-listRemoteVaultsFolders�Directs the tool to print vault and folder names on remote site and then exit.
-usage�Directs the tool to print a list of valid arguments and then exit.
-debug=<level>�Directs the tool to print additional informational and debug messages. Valid values range from 1 (least detailed) to 3 (most detailed).
* 
PTC recommends that this program be executed on a per-vault basis. PTC also recommends that you create backup of all disk folders that are affected before you run this tool. If you run the tool and an error results, you must restore the disk folders.