cool Posted April 12, 2005 Share Posted April 12, 2005 Hello !I am new here. Sorry for my bad english but i am french.I've create an unattented CD. But for Outlook Express there is a bug in unattented mode. There is an error message :http://support.microsoft.com/default.aspx?scid=kb;fr;245419the solution is to delete a registry key :My question is :on unattented mode how can we delete this registry key to repare this bug automatiquely ?I have an other question :with batch file suppress the read only attribut of all the files in a directorie ?Thanks for your help Link to comment Share on other sites More sharing options...
DiGGiTY Posted April 12, 2005 Share Posted April 12, 2005 To delete the registry key, you'll need to launch a .cmd or .bat file that runs the registry console tool (REG.EXE). Here's the syntax:REG DELETE KeyName [/v ValueName | /ve | /va] [/f] KeyName [\\Machine\]FullKey Machine Name of remote machine - omitting defaults to the current machine Only HKLM and HKU are available on remote machines FullKey ROOTKEY\SubKey ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ] SubKey The full name of a registry key under the selected ROOTKEY ValueName The value name, under the selected Key, to delete When omitted, all subkeys and values under the Key are deleted /ve delete the value of empty value name <no name> /va delete all values under this key /f Forces the deletion without propmtExamples: REG DELETE HKLM\Software\MyCo\MyApp\Timeout Deletes the registry key Timeout and its all subkeys and values REG DELETE \\ZODIAC\HKLM\Software\MyCo /v MTU Deletes the registry value MTU under MyCo on ZODIACTo suppress the read only attribute for all files in a directory launch a .bat or .cmd file that runs the attrib command.Example:attrib -r c:\dir1\folder1\*.*If you want to suppress the attribute on all files within the subtree, add the /D switch at the end.attrib -r c:\dir1\folder1\*.* /dThe above command removes the read only attribute for all files within folder1 and for all files within subfolders of folder1. Link to comment Share on other sites More sharing options...
cool Posted April 12, 2005 Author Share Posted April 12, 2005 Excellent !Very fast..... Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now