Cprofile
Cleans specified profiles of wasted space and, if user-specific file associations are disabled, removes these associations from the registry. Profiles that are currently in use are not modified.
Syntax
cprofile [/l] [/i] [/v] [FileList]
cprofile [/i] [/v] FileList
Parameters
-
/l
-
Cleans all local profiles. You can also specify a list of additional profiles in the FileList parameter.
-
/i
-
Interactively prompts the user with each profile.
-
/v
-
Displays information about the actions being performed.
-
FileList
-
A list of files from which you want to remove user-specific file associations. Separate each file in the list with a space. File names can contain wildcard characters.
-
/?
-
Displays help at the command prompt.
Caution
-
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.
Remarks
-
Only administrators can run cprofile.
-
A terminal server uses file associations to determine which application to use to access files of various types. File types are registered using Windows Explorer.
-
Per-user file associations allow each user to have a different application associated with a specific file type. For example, one user could have .doc files associated with Microsoft Word and another user could have .doc files associated with Windows WordPad.
-
If user-specific file associations are enabled, cprofile only removes the unused space from the user profile. If user-specific file associations are disabled, cprofile also removes the corresponding registry entries.
Examples
To clean all local profiles without being prompted about each one, type:
cprofile /l
To clean local profiles and be prompted about each one, type:
cprofile /l /i
Formatting legend
|
Format
|
Meaning
|
|
Italic
|
Information that the user must supply
|
|
Bold
|
Elements that the user must type exactly as shown
|
|
Ellipsis (...)
|
Parameter that can be repeated several times in a command line
|
|
Between brackets ([])
|
Optional items
|
|
Between braces ({}); choices separated by pipe (|). Example: {even|odd}
|
Set of choices from which the user must choose only one
|
|
Courier font
|
Code or program output
|
See Also